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.004489/0.004489, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001163/0.001163, allocations: 197.5 kB / 16.79 MB, free: 6.246 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.166/1.166, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6016/0.6016, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 60.38 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1127, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002384/0.1152, allocations: 1.528 MB / 0.5573 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005604/0.1157, allocations: 431 kB / 0.5577 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1158, allocations: 0 / 0.5577 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.1158, allocations: 3.984 kB / 0.5577 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.1159, allocations: 7.922 kB / 0.5577 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.116, allocations: 19.98 kB / 0.5578 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.1161, allocations: 47.86 kB / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.1162, allocations: 15.98 kB / 0.5578 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.1162, allocations: 15.94 kB / 0.5578 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.1162, allocations: 23.91 kB / 0.5579 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1163, allocations: 7.984 kB / 0.5579 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.1163, allocations: 4 kB / 0.5579 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.1163, allocations: 7.922 kB / 0.5579 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.1164, allocations: 19.94 kB / 0.5579 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.847e-05/0.1164, allocations: 36.16 kB / 0.5579 GB, free: 8.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1164, allocations: 4 kB / 0.5579 GB, free: 8.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1164, allocations: 0 / 0.5579 GB, free: 8.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1165, allocations: 0 / 0.5579 GB, free: 8.566 MB / 430.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.000414/0.1169, allocations: 367.4 kB / 0.5583 GB, free: 8.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1169, allocations: 8.031 kB / 0.5583 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1169, allocations: 42.69 kB / 0.5583 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.117, allocations: 4.844 kB / 0.5583 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1171, allocations: 172.3 kB / 0.5585 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1171, allocations: 8.375 kB / 0.5585 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1171, allocations: 8.375 kB / 0.5585 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.1172, allocations: 53.81 kB / 0.5586 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1172, allocations: 3.938 kB / 0.5586 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1172, allocations: 3.938 kB / 0.5586 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1173, allocations: 4 kB / 0.5586 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/0.1173, allocations: 27.97 kB / 0.5586 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.1177, allocations: 300.7 kB / 0.5589 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.1178, allocations: 58.59 kB / 0.559 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.1179, allocations: 24.94 kB / 0.559 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.1179, allocations: 0 / 0.559 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.118, allocations: 71.39 kB / 0.559 GB, free: 7.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.118, allocations: 4 kB / 0.559 GB, free: 7.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001904/0.1182, allocations: 101.5 kB / 0.5591 GB, free: 7.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1182, allocations: 59.34 kB / 0.5592 GB, free: 7.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.1183, allocations: 105.8 kB / 0.5593 GB, free: 6.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1183, allocations: 29.7 kB / 0.5593 GB, free: 6.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1184, allocations: 80.14 kB / 0.5594 GB, free: 6.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1184, allocations: 27.64 kB / 0.5594 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.1184, allocations: 25.72 kB / 0.5595 GB, free: 6.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.1185, allocations: 330.8 kB / 0.5598 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.1186, allocations: 12 kB / 0.5598 GB, free: 6.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.1186, allocations: 50.27 kB / 0.5598 GB, free: 6.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.1187, allocations: 71.53 kB / 0.5599 GB, free: 6.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1187, allocations: 7.938 kB / 0.5599 GB, free: 6.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001291/0.1189, allocations: 97.52 kB / 0.56 GB, free: 6.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.1189, allocations: 4 kB / 0.56 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1189, allocations: 0 / 0.56 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.1189, allocations: 4 kB / 0.56 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.119, allocations: 11.94 kB / 0.56 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.119, allocations: 0 / 0.56 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.119, allocations: 12.36 kB / 0.56 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1191, allocations: 7.938 kB / 0.56 GB, free: 6.156 MB / 430.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.471e-05/0.1191, allocations: 123.4 kB / 0.5602 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1191, allocations: 4 kB / 0.5602 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.1192, allocations: 11.91 kB / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1192, allocations: 4 kB / 0.5602 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1192, allocations: 0 / 0.5602 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1192, allocations: 3.984 kB / 0.5602 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.1195, allocations: 362.3 kB / 0.5605 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1196, allocations: 0 / 0.5605 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.1196, allocations: 8 kB / 0.5605 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1196, allocations: 0 / 0.5605 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1196, allocations: 4 kB / 0.5605 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1196, allocations: 3.938 kB / 0.5605 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1196, allocations: 0 / 0.5605 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1198, allocations: 183.4 kB / 0.5607 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1198, allocations: 81.05 kB / 0.5608 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1198, allocations: 8 kB / 0.5608 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1199, allocations: 11.92 kB / 0.5608 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1199, allocations: 7.984 kB / 0.5608 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.12, allocations: 4 kB / 0.5608 GB, free: 5.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.251e-05/0.12, allocations: 83.28 kB / 0.5609 GB, free: 5.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.12, allocations: 0 / 0.5609 GB, free: 5.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1202, allocations: 12 kB / 0.5609 GB, free: 5.16 MB / 430.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.0003576/0.1206, allocations: 0.722 MB / 0.5616 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1207, allocations: 67.84 kB / 0.5617 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1207, allocations: 0 / 0.5617 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.1208, allocations: 20 kB / 0.5617 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.121, allocations: 21.8 kB / 0.5617 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1221, allocations: 1.381 MB / 0.5631 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1223, allocations: 0.6848 MB / 0.5637 GB, free: 2.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1223, allocations: 11.98 kB / 0.5638 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.1224, allocations: 15.44 kB / 0.5638 GB, free: 2.094 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1224, allocations: 0 / 0.5638 GB, free: 2.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.268/1.39, allocations: 1.512 MB / 0.5652 GB, free: 0.668 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/1.39, allocations: 195.8 kB / 0.5654 GB, free: 416 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/4.032, allocations: 0 / 0.5654 GB, free: 416 kB / 430.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)