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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 107 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002342/0.002342, allocations: 281.3 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 180.9 MB / 0.5261 GB, free: 14.69 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 98.56 kB / 0.7247 GB, free: 40.28 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1252, allocations: 94.16 MB / 0.8167 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002359/0.1276, allocations: 1.468 MB / 0.8181 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006413/0.1282, allocations: 456.8 kB / 0.8186 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1283, allocations: 0 / 0.8186 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.1283, allocations: 3.938 kB / 0.8186 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.1284, allocations: 3.938 kB / 0.8186 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1285, allocations: 27.91 kB / 0.8186 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.1286, allocations: 51.86 kB / 0.8186 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.422e-05/0.1287, allocations: 15.97 kB / 0.8187 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5e-05/0.1287, allocations: 19.92 kB / 0.8187 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.1288, allocations: 19.92 kB / 0.8187 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1288, allocations: 4 kB / 0.8187 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.1288, allocations: 8 kB / 0.8187 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1288, allocations: 15.92 kB / 0.8187 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.1289, allocations: 19.92 kB / 0.8187 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.92e-05/0.129, allocations: 48.03 kB / 0.8188 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.129, allocations: 0 / 0.8188 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.129, allocations: 0 / 0.8188 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.129, allocations: 3.938 kB / 0.8188 GB, free: 3.289 MB / 0.5606 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.0004664/0.1294, allocations: 363.3 kB / 0.8191 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1295, allocations: 12.03 kB / 0.8191 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1295, allocations: 34.75 kB / 0.8192 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.1295, allocations: 8.891 kB / 0.8192 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1297, allocations: 176.3 kB / 0.8194 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1297, allocations: 384 / 0.8194 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1297, allocations: 8.375 kB / 0.8194 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1298, allocations: 65.73 kB / 0.8194 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1298, allocations: 0 / 0.8194 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1298, allocations: 0 / 0.8194 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1298, allocations: 0 / 0.8194 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.1299, allocations: 31.98 kB / 0.8195 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.1303, allocations: 296.7 kB / 0.8197 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1304, allocations: 50.56 kB / 0.8198 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.1304, allocations: 24.94 kB / 0.8198 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1305, allocations: 0 / 0.8198 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.1306, allocations: 75.42 kB / 0.8199 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1306, allocations: 0 / 0.8199 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0001969/0.1308, allocations: 101.6 kB / 0.82 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1308, allocations: 63.39 kB / 0.82 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.1309, allocations: 101.8 kB / 0.8201 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1309, allocations: 30.08 kB / 0.8202 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.131, allocations: 92.08 kB / 0.8203 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.131, allocations: 27.8 kB / 0.8203 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.131, allocations: 29.7 kB / 0.8203 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1312, allocations: 318.7 kB / 0.8206 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.1312, allocations: 23.92 kB / 0.8206 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.1313, allocations: 43.42 kB / 0.8207 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.733e-05/0.1314, allocations: 71.38 kB / 0.8207 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1314, allocations: 0 / 0.8207 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.1315, allocations: 93.84 kB / 0.8208 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1315, allocations: 8 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1315, allocations: 48 / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1315, allocations: 7.984 kB / 0.8208 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1316, allocations: 11.94 kB / 0.8209 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1316, allocations: 0 / 0.8209 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.1317, allocations: 11.94 kB / 0.8209 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1317, allocations: 11.97 kB / 0.8209 GB, free: 0.8828 MB / 0.5606 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 8.063e-05/0.1317, allocations: 119.5 kB / 0.821 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.1318, allocations: 4 kB / 0.821 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.1318, allocations: 11.95 kB / 0.821 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1318, allocations: 0 / 0.821 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1318, allocations: 3.938 kB / 0.821 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1318, allocations: 0 / 0.821 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.1322, allocations: 366.4 kB / 0.8214 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1322, allocations: 0 / 0.8214 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1322, allocations: 4 kB / 0.8214 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1322, allocations: 0 / 0.8214 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1322, allocations: 0 / 0.8214 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1322, allocations: 3.938 kB / 0.8214 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1322, allocations: 3.984 kB / 0.8214 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1324, allocations: 179.4 kB / 0.8215 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1324, allocations: 85.05 kB / 0.8216 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1324, allocations: 8.172 kB / 0.8216 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.1325, allocations: 12.14 kB / 0.8216 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1326, allocations: 11.92 kB / 0.8217 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1326, allocations: 7.938 kB / 0.8217 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.1326, allocations: 83.28 kB / 0.8217 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1326, allocations: 0 / 0.8217 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002171/0.1328, allocations: 11.98 kB / 0.8218 GB, free: 15.88 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.000437/0.1333, allocations: 0.7202 MB / 0.8225 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1334, allocations: 47.86 kB / 0.8225 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1334, allocations: 0 / 0.8225 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.1334, allocations: 23.98 kB / 0.8225 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1337, allocations: 19.25 kB / 0.8225 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1349, allocations: 1.378 MB / 0.8239 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1352, allocations: 0.6846 MB / 0.8246 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.1352, allocations: 4 kB / 0.8246 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1353, allocations: 23.42 kB / 0.8246 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.1353, allocations: 288 / 0.8246 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.1574, allocations: 1.78 MB / 0.8263 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.224, allocations: 8.703 kB / 0.8263 GB, free: 11.15 MB / 0.5762 GB " [Timeout remaining time 653] (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: 10.7924076882191] Failed to read output from testmodel.py, exit status != 0: 7.2952656080015 7.307831737 7.176383777 Calling exit ...