Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108.3 kB / 16.4 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001147, allocations: 192.8 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.651/0.651, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 67.11 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1127, allocations: 76.17 MB / 0.6315 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002368/0.1151, allocations: 1.455 MB / 0.633 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006946/0.1158, allocations: 439 kB / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.1159, allocations: 0 / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.1159, allocations: 3.938 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.116, allocations: 15.81 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.1161, allocations: 23.91 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.1162, allocations: 55.84 kB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.1163, allocations: 11.98 kB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.1164, allocations: 19.92 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.1164, allocations: 19.92 kB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1165, allocations: 8 kB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.1165, allocations: 4 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.1165, allocations: 11.97 kB / 0.6336 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1165, allocations: 23.88 kB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.919e-05/0.1166, allocations: 50.62 kB / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1167, allocations: 4 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1167, allocations: 3.938 kB / 0.6336 GB, free: 2.805 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1167, allocations: 0 / 0.6336 GB, free: 2.805 MB / 478.1 MB 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.000435/0.1171, allocations: 352.3 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1171, allocations: 12.03 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.1172, allocations: 34.75 kB / 0.634 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.1172, allocations: 8.844 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1173, allocations: 172.3 kB / 0.6342 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1173, allocations: 4.375 kB / 0.6342 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1174, allocations: 8.375 kB / 0.6342 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.1175, allocations: 61.75 kB / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1175, allocations: 0 / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1175, allocations: 3.984 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1175, allocations: 0 / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.1176, allocations: 27.98 kB / 0.6343 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.118, allocations: 304.6 kB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.1181, allocations: 54.59 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.1181, allocations: 24.91 kB / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.1181, allocations: 4 kB / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.1183, allocations: 71.42 kB / 0.6347 GB, free: 1.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1183, allocations: 0 / 0.6347 GB, free: 1.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002055/0.1185, allocations: 113.4 kB / 0.6348 GB, free: 1.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1185, allocations: 51.41 kB / 0.6349 GB, free: 1.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.1186, allocations: 105.8 kB / 0.635 GB, free: 1.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1186, allocations: 29.7 kB / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1187, allocations: 88.08 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1187, allocations: 27.64 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1187, allocations: 25.72 kB / 0.6351 GB, free: 1.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1189, allocations: 322.8 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.1189, allocations: 20 kB / 0.6355 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.119, allocations: 51.3 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.119, allocations: 71.36 kB / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.119, allocations: 0 / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001357/0.1192, allocations: 93.52 kB / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1192, allocations: 12.03 kB / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1192, allocations: 0 / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1192, allocations: 0 / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.1193, allocations: 11.94 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1193, allocations: 4 kB / 0.6357 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1194, allocations: 11.98 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1194, allocations: 7.938 kB / 0.6357 GB, free: 412 kB / 478.1 MB 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 7.852e-05/0.1195, allocations: 118 kB / 0.6358 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.1195, allocations: 4 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.1195, allocations: 15.91 kB / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1195, allocations: 0 / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1195, allocations: 3.984 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1196, allocations: 0 / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.1199, allocations: 362.3 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1199, allocations: 4.469 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.12, allocations: 0 / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.12, allocations: 4 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.12, allocations: 8 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.12, allocations: 3.938 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.12, allocations: 3.938 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.1201, allocations: 179.4 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.1202, allocations: 81.39 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1202, allocations: 7.984 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.1203, allocations: 7.938 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1204, allocations: 11.97 kB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1204, allocations: 8.062 kB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.328e-05/0.1204, allocations: 79.28 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 0 / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1206, allocations: 16 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB 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.0003897/0.121, allocations: 0.7191 MB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1212, allocations: 63.86 kB / 0.6374 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1212, allocations: 0 / 0.6374 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.1212, allocations: 27.98 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1215, allocations: 13.72 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1226, allocations: 1.375 MB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1228, allocations: 0.6885 MB / 0.6394 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.1228, allocations: 4 kB / 0.6394 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.1229, allocations: 19.42 kB / 0.6394 GB, free: 12.35 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1229, allocations: 0 / 0.6394 GB, free: 12.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.139, allocations: 1.781 MB / 0.6412 GB, free: 10.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/6.701, allocations: 2.875 kB / 0.6412 GB, free: 10.63 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)