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.001368/0.001368, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001588/0.001588, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.002727/0.002727, allocations: 285.8 kB / 313.5 MB, free: 2.945 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.258/1.258, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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: translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [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.002963/0.002963, allocations: 112.3 kB / 0.7408 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2203, allocations: 95.38 MB / 0.8339 GB, free: 8.254 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002973/0.2233, allocations: 1.497 MB / 0.8354 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.2242, allocations: 492.4 kB / 0.8359 GB, free: 6.262 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.2243, allocations: 4 kB / 0.8359 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.2243, allocations: 7.938 kB / 0.8359 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.18e-05/0.2244, allocations: 11.91 kB / 0.8359 GB, free: 6.238 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.2246, allocations: 19.92 kB / 0.8359 GB, free: 6.219 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2247, allocations: 47.91 kB / 0.8359 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2248, allocations: 8 kB / 0.836 GB, free: 6.164 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.2249, allocations: 31.84 kB / 0.836 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.225, allocations: 19.92 kB / 0.836 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.225, allocations: 4 kB / 0.836 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.225, allocations: 4 kB / 0.836 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.225, allocations: 11.92 kB / 0.836 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.2251, allocations: 27.92 kB / 0.8361 GB, free: 6.066 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2252, allocations: 51.75 kB / 0.8361 GB, free: 6.016 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.2252, allocations: 0 / 0.8361 GB, free: 6.016 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2252, allocations: 0 / 0.8361 GB, free: 6.016 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2252, allocations: 0 / 0.8361 GB, free: 6.016 MB / 0.5763 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.0005636/0.2258, allocations: 286.2 kB / 0.8364 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2258, allocations: 9.344 kB / 0.8364 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.2259, allocations: 4.938 kB / 0.8364 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.226, allocations: 110.4 kB / 0.8365 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.226, allocations: 12.31 kB / 0.8365 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.226, allocations: 12.36 kB / 0.8365 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2262, allocations: 58 kB / 0.8366 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2262, allocations: 0 / 0.8366 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2262, allocations: 0 / 0.8366 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2262, allocations: 3.984 kB / 0.8366 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.2263, allocations: 27.98 kB / 0.8366 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.2268, allocations: 275.8 kB / 0.8369 GB, free: 5.133 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2269, allocations: 50.56 kB / 0.8369 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.2269, allocations: 16.95 kB / 0.8369 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.2269, allocations: 0 / 0.8369 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.2271, allocations: 79.41 kB / 0.837 GB, free: 4.965 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2271, allocations: 4 kB / 0.837 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of matching and sorting (n=9): time 0.0002525/0.2274, allocations: 97.61 kB / 0.8371 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2274, allocations: 55.41 kB / 0.8372 GB, free: 4.793 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2275, allocations: 109.8 kB / 0.8373 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2275, allocations: 29.64 kB / 0.8373 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.2276, allocations: 88.14 kB / 0.8374 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.2276, allocations: 27.78 kB / 0.8374 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.2277, allocations: 29.7 kB / 0.8374 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2278, allocations: 318.8 kB / 0.8377 GB, free: 4.168 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.2279, allocations: 24.36 kB / 0.8378 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.2279, allocations: 47.36 kB / 0.8378 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.228, allocations: 59.44 kB / 0.8379 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.228, allocations: 0 / 0.8379 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001588/0.2282, allocations: 109.4 kB / 0.838 GB, free: 3.902 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2282, allocations: 4 kB / 0.838 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2282, allocations: 4 kB / 0.838 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2282, allocations: 0 / 0.838 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.2283, allocations: 11.98 kB / 0.838 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2283, allocations: 4 kB / 0.838 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.2284, allocations: 4 kB / 0.838 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2284, allocations: 4 kB / 0.838 GB, free: 3.871 MB / 0.5763 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.0001179/0.2285, allocations: 130.4 kB / 0.8381 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.2285, allocations: 7.984 kB / 0.8381 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.2285, allocations: 12.34 kB / 0.8381 GB, free: 3.707 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2285, allocations: 0 / 0.8381 GB, free: 3.707 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2286, allocations: 3.984 kB / 0.8381 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2286, allocations: 0 / 0.8381 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.229, allocations: 325.5 kB / 0.8384 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.229, allocations: 0 / 0.8384 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.229, allocations: 4 kB / 0.8385 GB, free: 3.332 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.229, allocations: 4 kB / 0.8385 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.229, allocations: 7.984 kB / 0.8385 GB, free: 3.32 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.229, allocations: 3.938 kB / 0.8385 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.229, allocations: 7.875 kB / 0.8385 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2292, allocations: 179.5 kB / 0.8386 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.2292, allocations: 8.047 kB / 0.8387 GB, free: 3.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2292, allocations: 8 kB / 0.8387 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.2293, allocations: 7.938 kB / 0.8387 GB, free: 3.094 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2294, allocations: 15.92 kB / 0.8387 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2294, allocations: 0 / 0.8387 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.2294, allocations: 87.27 kB / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2294, allocations: 192 / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002297/0.2297, allocations: 19.95 kB / 0.8388 GB, free: 2.973 MB / 0.5763 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 9.9e-05/0.2298, allocations: 99.19 kB / 0.8389 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.2299, allocations: 51.91 kB / 0.8389 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2299, allocations: 64 / 0.8389 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.23, allocations: 27.94 kB / 0.839 GB, free: 2.789 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2302, allocations: 18.55 kB / 0.839 GB, free: 2.773 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.2307, allocations: 192.2 kB / 0.8392 GB, free: 2.555 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.231, allocations: 0.6885 MB / 0.8398 GB, free: 1.84 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.2311, allocations: 11.44 kB / 0.8398 GB, free: 1.832 MB / 0.5763 GB Notification: Performance of SimCode: time 3e-07/0.2311, allocations: 0 / 0.8398 GB, free: 1.832 MB / 0.5763 GB Notification: Performance of Templates: time 0.002481/0.2335, allocations: 0.8705 MB / 0.8407 GB, free: 0.9648 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.797596789896488] Failed to read output from testmodel.py, exit status != 0: 0.24128284608013928 0.25673793899999997 0.028386383 Calling exit ...