Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 210.7 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003728/0.003728, allocations: 292.7 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004389/0.004389, allocations: 109.5 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1817, allocations: 95.39 MB / 0.8326 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002711/0.1844, allocations: 1.477 MB / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.1852, allocations: 452.6 kB / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.1853, allocations: 4 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.1853, allocations: 7.875 kB / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.1854, allocations: 11.86 kB / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1855, allocations: 19.97 kB / 0.8345 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.1856, allocations: 55.78 kB / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.1857, allocations: 8 kB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.1858, allocations: 19.92 kB / 0.8346 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.1858, allocations: 19.92 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1858, allocations: 8 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.1858, allocations: 4 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.1859, allocations: 11.97 kB / 0.8347 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.1859, allocations: 23.92 kB / 0.8347 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.186, allocations: 47.98 kB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.186, allocations: 0 / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.186, allocations: 0 / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.186, allocations: 0 / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004779/0.1865, allocations: 294.2 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1865, allocations: 9.344 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.1866, allocations: 34.75 kB / 0.835 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1866, allocations: 8.922 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1867, allocations: 114.5 kB / 0.8352 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1868, allocations: 4.375 kB / 0.8352 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1868, allocations: 8.375 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1869, allocations: 61.73 kB / 0.8352 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1869, allocations: 0 / 0.8352 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.1869, allocations: 0 / 0.8352 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1869, allocations: 4 kB / 0.8352 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.187, allocations: 27.98 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.1875, allocations: 263.8 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1876, allocations: 46.56 kB / 0.8356 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.1876, allocations: 24.95 kB / 0.8356 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1876, allocations: 3.938 kB / 0.8356 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1878, allocations: 83.3 kB / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1878, allocations: 0 / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002262/0.188, allocations: 101.6 kB / 0.8358 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.1881, allocations: 55.41 kB / 0.8358 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.1882, allocations: 109.8 kB / 0.8359 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1882, allocations: 29.7 kB / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1883, allocations: 88.14 kB / 0.836 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1883, allocations: 23.78 kB / 0.8361 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.1883, allocations: 29.7 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1885, allocations: 318.8 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.1885, allocations: 19.98 kB / 0.8364 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1886, allocations: 47.42 kB / 0.8365 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.1887, allocations: 63.38 kB / 0.8365 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1887, allocations: 8 kB / 0.8365 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001433/0.1888, allocations: 93.8 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1888, allocations: 4 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1888, allocations: 3.938 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1888, allocations: 8.031 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.1889, allocations: 15.98 kB / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1889, allocations: 0 / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.189, allocations: 4 kB / 0.8366 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.189, allocations: 7.938 kB / 0.8367 GB, free: 3.992 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.1891, allocations: 134 kB / 0.8368 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.1891, allocations: 3.953 kB / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.1892, allocations: 8.062 kB / 0.8368 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1892, allocations: 4 kB / 0.8368 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1892, allocations: 0 / 0.8368 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1892, allocations: 0 / 0.8368 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.1896, allocations: 325.8 kB / 0.8371 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1896, allocations: 4 kB / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.1896, allocations: 0 / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1896, allocations: 4.094 kB / 0.8371 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1896, allocations: 15.92 kB / 0.8371 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1896, allocations: 3.938 kB / 0.8371 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1896, allocations: 0 / 0.8371 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1898, allocations: 187.4 kB / 0.8373 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.1898, allocations: 0 / 0.8373 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1898, allocations: 4.047 kB / 0.8373 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.1899, allocations: 11.94 kB / 0.8373 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1899, allocations: 11.98 kB / 0.8373 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.19, allocations: 4 kB / 0.8373 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.19, allocations: 83.27 kB / 0.8374 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.19, allocations: 4 kB / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002345/0.1902, allocations: 19.95 kB / 0.8374 GB, free: 3.102 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004801/0.1907, allocations: 0.7085 MB / 0.8381 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1909, allocations: 51.92 kB / 0.8382 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1909, allocations: 0 / 0.8382 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.1909, allocations: 23.98 kB / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1912, allocations: 16.3 kB / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1926, allocations: 1.388 MB / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.1926, allocations: 67.34 kB / 0.8396 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.1927, allocations: 7.984 kB / 0.8396 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.1927, allocations: 15.77 kB / 0.8397 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.1927, allocations: 0 / 0.8397 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.2218, allocations: 2.361 MB / 0.842 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.14, allocations: 9.906 kB / 0.842 GB, free: 14.46 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.35695461789146] Failed to read output from testmodel.py, exit status != 0: 11.246016273275018 11.270677896 11.080077384 Calling exit ...