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.001643/0.001643, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002111/0.002111, allocations: 218 kB / 22.26 MB, free: 5.125 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.98 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.002436/0.002436, allocations: 290.9 kB / 312.7 MB, free: 2.777 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.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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: "" <> 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: 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.002842/0.002842, allocations: 103.8 kB / 0.7396 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 95.38 MB / 0.8327 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002937/0.1677, allocations: 1.502 MB / 0.8342 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.1686, allocations: 488.4 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1686, allocations: 4 kB / 0.8346 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.1687, allocations: 3.938 kB / 0.8346 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.1688, allocations: 11.92 kB / 0.8347 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1689, allocations: 27.91 kB / 0.8347 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.09e-05/0.169, allocations: 47.91 kB / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.1691, allocations: 8 kB / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.1692, allocations: 27.84 kB / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1692, allocations: 23.92 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1692, allocations: 7.938 kB / 0.8348 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.1693, allocations: 4 kB / 0.8348 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.1693, allocations: 11.92 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1693, allocations: 23.92 kB / 0.8348 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.1694, allocations: 48.03 kB / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1694, allocations: 0 / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1694, allocations: 4 kB / 0.8349 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1694, allocations: 0 / 0.8349 GB, free: 6.453 MB / 0.5762 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.0004654/0.1699, allocations: 282.2 kB / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1699, allocations: 13.34 kB / 0.8352 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.17, allocations: 34.75 kB / 0.8352 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.17, allocations: 4.938 kB / 0.8352 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1701, allocations: 118.4 kB / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1701, allocations: 4.375 kB / 0.8353 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1702, allocations: 8.375 kB / 0.8353 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1703, allocations: 57.81 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1703, allocations: 0 / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1703, allocations: 7.969 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1703, allocations: 0 / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.1704, allocations: 31.92 kB / 0.8354 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.1708, allocations: 263.8 kB / 0.8357 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1709, allocations: 54.56 kB / 0.8357 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.171, allocations: 28.97 kB / 0.8357 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.171, allocations: 0 / 0.8357 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.1711, allocations: 67.39 kB / 0.8358 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.113e-06/0.1711, allocations: 3.938 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002194/0.1713, allocations: 109.5 kB / 0.8359 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1714, allocations: 55.41 kB / 0.836 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.1715, allocations: 105.8 kB / 0.8361 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1715, allocations: 33.7 kB / 0.8361 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.1715, allocations: 80.14 kB / 0.8362 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1716, allocations: 31.77 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1716, allocations: 25.72 kB / 0.8362 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1717, allocations: 318.8 kB / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.1718, allocations: 24 kB / 0.8366 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.1718, allocations: 47.36 kB / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.1719, allocations: 67.36 kB / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1719, allocations: 0 / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001373/0.1721, allocations: 89.64 kB / 0.8368 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1721, allocations: 12.02 kB / 0.8368 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1721, allocations: 8 kB / 0.8368 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1721, allocations: 0 / 0.8368 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.1722, allocations: 12 kB / 0.8368 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1722, allocations: 3.938 kB / 0.8368 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.1722, allocations: 7.984 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1723, allocations: 11.94 kB / 0.8368 GB, free: 4.254 MB / 0.5762 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 9.384e-05/0.1723, allocations: 114.8 kB / 0.8369 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.1724, allocations: 7.953 kB / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.1724, allocations: 16.05 kB / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1724, allocations: 0 / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1724, allocations: 0 / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1724, allocations: 0 / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.1728, allocations: 329.5 kB / 0.8373 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1728, allocations: 3.984 kB / 0.8373 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.1728, allocations: 7.938 kB / 0.8373 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1728, allocations: 0 / 0.8373 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1728, allocations: 3.938 kB / 0.8373 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1728, allocations: 7.938 kB / 0.8373 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1728, allocations: 480 / 0.8373 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.173, allocations: 191.4 kB / 0.8375 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.173, allocations: 3.938 kB / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.173, allocations: 4 kB / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.1731, allocations: 11.92 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1731, allocations: 7.984 kB / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1731, allocations: 8 kB / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.1732, allocations: 83.28 kB / 0.8376 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.8376 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002259/0.1734, allocations: 15.95 kB / 0.8376 GB, free: 3.371 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.0004295/0.1738, allocations: 0.7064 MB / 0.8383 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.174, allocations: 59.91 kB / 0.8383 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.174, allocations: 0 / 0.8383 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.174, allocations: 23.94 kB / 0.8384 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1743, allocations: 14.11 kB / 0.8384 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1756, allocations: 1.386 MB / 0.8397 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1759, allocations: 0.6846 MB / 0.8404 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.176, allocations: 4 kB / 0.8404 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.176, allocations: 23.38 kB / 0.8404 GB, free: 340 kB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.176, allocations: 3.938 kB / 0.8404 GB, free: 336 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.2028, allocations: 1.929 MB / 0.8423 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.33, allocations: 7.25 kB / 0.8423 GB, free: 14.53 MB / 0.5919 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.49273169099979] Failed to read output from testmodel.py, exit status != 0: 10.436934884000948 10.461922597 10.288009297 Calling exit ...