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.001289/0.001289, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001437/0.001437, allocations: 216.1 kB / 22.25 MB, free: 4.852 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.793 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.002475/0.002475, allocations: 281.8 kB / 312.7 MB, free: 2.605 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.177/1.177, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.002956/0.002956, allocations: 101.7 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1805, allocations: 95.38 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.003106/0.1836, allocations: 1.484 MB / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.1846, allocations: 452.6 kB / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.1846, allocations: 3.938 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.1847, allocations: 3.984 kB / 0.8345 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.1847, allocations: 7.875 kB / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.1849, allocations: 15.98 kB / 0.8345 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.185, allocations: 55.84 kB / 0.8346 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1851, allocations: 15.97 kB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1852, allocations: 15.94 kB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.1853, allocations: 19.91 kB / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1853, allocations: 8 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.1853, allocations: 4 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.1853, allocations: 11.94 kB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.1854, allocations: 19.92 kB / 0.8347 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1855, allocations: 51.97 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1855, allocations: 0 / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1855, allocations: 0 / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.1855, allocations: 0 / 0.8347 GB, free: 6.195 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.0005167/0.186, allocations: 290.2 kB / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1861, allocations: 13.34 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1861, allocations: 42.73 kB / 0.835 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1862, allocations: 4.938 kB / 0.8351 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1863, allocations: 106.5 kB / 0.8352 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1863, allocations: 4.375 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1863, allocations: 8.375 kB / 0.8352 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1864, allocations: 69.67 kB / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1865, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1865, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1865, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.196e-05/0.1865, allocations: 23.98 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.187, allocations: 267.8 kB / 0.8355 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1872, allocations: 46.56 kB / 0.8356 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.1872, allocations: 32.92 kB / 0.8356 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1872, allocations: 4 kB / 0.8356 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1874, allocations: 79.36 kB / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.1874, allocations: 0 / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002555/0.1877, allocations: 97.61 kB / 0.8358 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.1877, allocations: 55.41 kB / 0.8358 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.1878, allocations: 113.8 kB / 0.8359 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1879, allocations: 29.7 kB / 0.8359 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.1879, allocations: 84.14 kB / 0.836 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1879, allocations: 27.78 kB / 0.8361 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.188, allocations: 21.72 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1882, allocations: 326.8 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.1882, allocations: 15.94 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.1883, allocations: 47.42 kB / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1884, allocations: 67.36 kB / 0.8365 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1884, allocations: 0 / 0.8365 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001521/0.1885, allocations: 97.58 kB / 0.8366 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.1885, allocations: 18.48 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1886, allocations: 0 / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1886, allocations: 0 / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.1886, allocations: 8 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1887, allocations: 7.938 kB / 0.8366 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.1887, allocations: 7.984 kB / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1887, allocations: 7.938 kB / 0.8367 GB, free: 3.996 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.0001054/0.1888, allocations: 122.4 kB / 0.8368 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.1889, allocations: 11.98 kB / 0.8368 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.1889, allocations: 8.062 kB / 0.8368 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1889, allocations: 0 / 0.8368 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1889, allocations: 0 / 0.8368 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1889, allocations: 0 / 0.8368 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.1893, allocations: 329.5 kB / 0.8371 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1893, allocations: 0 / 0.8371 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.1894, allocations: 8.266 kB / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1894, allocations: 0 / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1894, allocations: 0 / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.1894, allocations: 16 kB / 0.8371 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1894, allocations: 0 / 0.8371 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1896, allocations: 191.4 kB / 0.8373 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.1896, allocations: 4 kB / 0.8373 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1896, allocations: 0 / 0.8373 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.1897, allocations: 11.92 kB / 0.8373 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1898, allocations: 11.98 kB / 0.8373 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1898, allocations: 0 / 0.8373 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.1898, allocations: 83.28 kB / 0.8374 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1898, allocations: 3.938 kB / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002345/0.1901, allocations: 15.95 kB / 0.8374 GB, free: 3.113 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.0005004/0.1906, allocations: 0.7203 MB / 0.8381 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1907, allocations: 51.91 kB / 0.8382 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1907, allocations: 0 / 0.8382 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.1908, allocations: 20 kB / 0.8382 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.191, allocations: 20.08 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.001488/0.1925, allocations: 1.376 MB / 0.8396 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.893e-05/0.1926, allocations: 78.67 kB / 0.8396 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.1926, allocations: 4 kB / 0.8396 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1927, allocations: 15.44 kB / 0.8397 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1927, allocations: 0 / 0.8397 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.2225, allocations: 2.348 MB / 0.842 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.93, allocations: 8.969 kB / 0.842 GB, free: 14.49 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.864001833833754] Failed to read output from testmodel.py, exit status != 0: 11.035484605003148 11.062911294 10.8720425 Calling exit ...