Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",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.004468/0.004468, allocations: 100 kB / 15.87 MB, free: 6.293 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.001116/0.001116, allocations: 200.5 kB / 16.79 MB, free: 6.223 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.172/1.172, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6083/0.6083, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 68.12 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 76.18 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002356/0.1157, allocations: 1.528 MB / 0.5573 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.1163, allocations: 435 kB / 0.5577 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.1164, allocations: 4 kB / 0.5577 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.1164, allocations: 7.984 kB / 0.5578 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.1165, allocations: 3.938 kB / 0.5578 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.1166, allocations: 15.98 kB / 0.5578 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.1167, allocations: 51.84 kB / 0.5578 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1168, allocations: 11.98 kB / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.1169, allocations: 19.92 kB / 0.5579 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.1169, allocations: 15.92 kB / 0.5579 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1169, allocations: 8 kB / 0.5579 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.1169, allocations: 4 kB / 0.5579 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.117, allocations: 11.92 kB / 0.5579 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.117, allocations: 19.88 kB / 0.5579 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.437e-05/0.1171, allocations: 44.14 kB / 0.558 GB, free: 8.578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1171, allocations: 4 kB / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1171, allocations: 0 / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1171, allocations: 0 / 0.558 GB, free: 8.574 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.0004369/0.1176, allocations: 363.4 kB / 0.5583 GB, free: 8.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1176, allocations: 16.03 kB / 0.5583 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.1177, allocations: 30.75 kB / 0.5583 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.1177, allocations: 8.844 kB / 0.5584 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1178, allocations: 172.3 kB / 0.5585 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1178, allocations: 4.375 kB / 0.5585 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1178, allocations: 4.375 kB / 0.5585 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1179, allocations: 61.75 kB / 0.5586 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.118, allocations: 0 / 0.5586 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.118, allocations: 7.984 kB / 0.5586 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.118, allocations: 0 / 0.5586 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.118, allocations: 31.98 kB / 0.5586 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.1185, allocations: 304.6 kB / 0.5589 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/0.1186, allocations: 50.59 kB / 0.559 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.1186, allocations: 24.91 kB / 0.559 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1186, allocations: 11.98 kB / 0.559 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1188, allocations: 71.42 kB / 0.5591 GB, free: 7.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1188, allocations: 0 / 0.5591 GB, free: 7.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000206/0.119, allocations: 101.5 kB / 0.5592 GB, free: 7.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.119, allocations: 55.39 kB / 0.5592 GB, free: 7.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.1191, allocations: 109.8 kB / 0.5593 GB, free: 6.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1191, allocations: 25.7 kB / 0.5593 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.1192, allocations: 92.14 kB / 0.5594 GB, free: 6.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1192, allocations: 27.64 kB / 0.5595 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1193, allocations: 21.72 kB / 0.5595 GB, free: 6.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.1194, allocations: 322.8 kB / 0.5598 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.1194, allocations: 16 kB / 0.5598 GB, free: 6.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.004e-05/0.1194, allocations: 51.14 kB / 0.5599 GB, free: 6.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.1195, allocations: 75.3 kB / 0.5599 GB, free: 6.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1195, allocations: 0 / 0.5599 GB, free: 6.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001318/0.1197, allocations: 93.52 kB / 0.56 GB, free: 6.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1197, allocations: 11.94 kB / 0.56 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1197, allocations: 0 / 0.56 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1197, allocations: 0 / 0.56 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.1198, allocations: 12 kB / 0.56 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1198, allocations: 4 kB / 0.56 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.1199, allocations: 12.02 kB / 0.5601 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1199, allocations: 7.938 kB / 0.5601 GB, free: 6.164 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 8.149e-05/0.12, allocations: 119.3 kB / 0.5602 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.12, allocations: 8 kB / 0.5602 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.12, allocations: 4.344 kB / 0.5602 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.12, allocations: 0 / 0.5602 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.12, allocations: 3.984 kB / 0.5602 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.12, allocations: 0 / 0.5602 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.1204, allocations: 374.3 kB / 0.5605 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1204, allocations: 4.062 kB / 0.5606 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.1204, allocations: 4 kB / 0.5606 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1204, allocations: 0 / 0.5606 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1205, allocations: 0 / 0.5606 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1205, allocations: 3.938 kB / 0.5606 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1205, allocations: 288 / 0.5606 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1206, allocations: 187.4 kB / 0.5607 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1207, allocations: 89.03 kB / 0.5608 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1207, allocations: 0 / 0.5608 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.1208, allocations: 11.92 kB / 0.5608 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.1208, allocations: 11.98 kB / 0.5608 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1208, allocations: 0 / 0.5608 GB, free: 5.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.507e-05/0.1209, allocations: 79.28 kB / 0.5609 GB, free: 5.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1209, allocations: 0 / 0.5609 GB, free: 5.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1211, allocations: 16 kB / 0.5609 GB, free: 5.168 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.0003591/0.1215, allocations: 0.7258 MB / 0.5616 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.1216, allocations: 52.2 kB / 0.5617 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1216, allocations: 3.938 kB / 0.5617 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.1217, allocations: 23.98 kB / 0.5617 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1219, allocations: 19.94 kB / 0.5617 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1229, allocations: 1.365 MB / 0.5631 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1231, allocations: 0.6809 MB / 0.5637 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.1232, allocations: 4 kB / 0.5637 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.1232, allocations: 23.42 kB / 0.5638 GB, free: 2.121 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1232, allocations: 0 / 0.5638 GB, free: 2.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.655/3.778, allocations: 1.538 MB / 0.5653 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/3.778, allocations: 210.4 kB / 0.5655 GB, free: 448 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/5.236, allocations: 3.938 kB / 0.5655 GB, free: 444 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)