Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0009213/0.0009213, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008127/0.0008127, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9255/0.9255, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5667/0.5667, allocations: 110.3 MB / 369.4 MB, free: 12.6 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5472 GB, free: 8.812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.797e-06/1.021e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.809 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001635/0.001645, allocations: 1.491 MB / 0.5487 GB, free: 7.301 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005216/0.002166, allocations: 454.8 kB / 0.5491 GB, free: 6.852 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.002198, allocations: 0 / 0.5491 GB, free: 6.852 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.002223, allocations: 3.938 kB / 0.5491 GB, free: 6.848 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.002292, allocations: 11.97 kB / 0.5491 GB, free: 6.836 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.002428, allocations: 27.8 kB / 0.5492 GB, free: 6.809 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.002499, allocations: 51.84 kB / 0.5492 GB, free: 6.758 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.002596, allocations: 15.98 kB / 0.5492 GB, free: 6.742 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.00265, allocations: 27.97 kB / 0.5493 GB, free: 6.715 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.002702, allocations: 15.92 kB / 0.5493 GB, free: 6.699 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.002723, allocations: 8 kB / 0.5493 GB, free: 6.691 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.002733, allocations: 4 kB / 0.5493 GB, free: 6.688 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.002751, allocations: 11.97 kB / 0.5493 GB, free: 6.676 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.002783, allocations: 19.92 kB / 0.5493 GB, free: 6.656 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.696e-05/0.00287, allocations: 39.92 kB / 0.5493 GB, free: 6.617 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002872, allocations: 8 kB / 0.5494 GB, free: 6.609 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002873, allocations: 0 / 0.5494 GB, free: 6.609 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.002877, allocations: 0 / 0.5494 GB, free: 6.609 MB / 474.7 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.0006136/0.003491, allocations: 294.1 kB / 0.5496 GB, free: 6.293 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.003523, allocations: 8.031 kB / 0.5496 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.003549, allocations: 34.69 kB / 0.5497 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.00357, allocations: 8.875 kB / 0.5497 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.743e-05/0.003648, allocations: 109.8 kB / 0.5498 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003658, allocations: 8.359 kB / 0.5498 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.003667, allocations: 4.375 kB / 0.5498 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.198e-05/0.003749, allocations: 58.19 kB / 0.5499 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.003756, allocations: 192 / 0.5499 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.003766, allocations: 8.125 kB / 0.5499 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003772, allocations: 4 kB / 0.5499 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.003819, allocations: 19.98 kB / 0.5499 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.004145, allocations: 263.8 kB / 0.5501 GB, free: 5.695 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/0.004232, allocations: 54.59 kB / 0.5502 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.004263, allocations: 24.94 kB / 0.5502 GB, free: 5.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.004271, allocations: 4 kB / 0.5502 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.004388, allocations: 79.31 kB / 0.5503 GB, free: 5.512 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.004389, allocations: 0 / 0.5503 GB, free: 5.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001672/0.004556, allocations: 105.6 kB / 0.5504 GB, free: 5.402 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.004589, allocations: 55.34 kB / 0.5504 GB, free: 5.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.24e-05/0.004641, allocations: 105.8 kB / 0.5505 GB, free: 5.223 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.004653, allocations: 29.7 kB / 0.5506 GB, free: 5.188 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.004687, allocations: 88.09 kB / 0.5507 GB, free: 5.098 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.004707, allocations: 23.84 kB / 0.5507 GB, free: 5.074 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.004737, allocations: 25.72 kB / 0.5507 GB, free: 5.043 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.004806, allocations: 327.1 kB / 0.551 GB, free: 4.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.00483, allocations: 16 kB / 0.551 GB, free: 4.699 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.004866, allocations: 43.42 kB / 0.5511 GB, free: 4.645 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.004928, allocations: 67.36 kB / 0.5511 GB, free: 4.566 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00493, allocations: 3.938 kB / 0.5511 GB, free: 4.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.643e-05/0.005016, allocations: 97.55 kB / 0.5512 GB, free: 4.461 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005028, allocations: 6.5 kB / 0.5512 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005032, allocations: 64 / 0.5512 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.005043, allocations: 8 kB / 0.5513 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.005096, allocations: 15.97 kB / 0.5513 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005101, allocations: 0 / 0.5513 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.005139, allocations: 15.94 kB / 0.5513 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005144, allocations: 4 kB / 0.5513 GB, free: 4.414 MB / 474.7 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 6.708e-05/0.005212, allocations: 121.7 kB / 0.5514 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-06/0.005217, allocations: 4 kB / 0.5514 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.005234, allocations: 8.125 kB / 0.5514 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005237, allocations: 4 kB / 0.5514 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.00524, allocations: 0 / 0.5514 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.005245, allocations: 3.984 kB / 0.5514 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.005493, allocations: 333.4 kB / 0.5517 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005494, allocations: 4 kB / 0.5517 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.005505, allocations: 0 / 0.5517 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.005507, allocations: 4 kB / 0.5517 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.005513, allocations: 0 / 0.5517 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005514, allocations: 0 / 0.5517 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.005515, allocations: 0 / 0.5517 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.005611, allocations: 191.6 kB / 0.5519 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.005616, allocations: 0 / 0.5519 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.005626, allocations: 3.984 kB / 0.5519 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.005668, allocations: 15.98 kB / 0.5519 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.005701, allocations: 7.984 kB / 0.552 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.005706, allocations: 7.938 kB / 0.552 GB, free: 3.645 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.49e-05/0.005731, allocations: 83.47 kB / 0.552 GB, free: 3.562 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005731, allocations: 0 / 0.552 GB, free: 3.562 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.005885, allocations: 15.94 kB / 0.5521 GB, free: 3.547 MB / 474.7 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.0002522/0.006137, allocations: 0.7177 MB / 0.5528 GB, free: 2.805 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.006234, allocations: 55.84 kB / 0.5528 GB, free: 2.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006235, allocations: 0 / 0.5528 GB, free: 2.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.006268, allocations: 24.06 kB / 0.5528 GB, free: 2.727 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.006451, allocations: 18.5 kB / 0.5529 GB, free: 2.711 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.007282, allocations: 1.384 MB / 0.5542 GB, free: 1.227 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.007326, allocations: 67.34 kB / 0.5543 GB, free: 1.141 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.007347, allocations: 7.984 kB / 0.5543 GB, free: 1.133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.007386, allocations: 16.5 kB / 0.5543 GB, free: 1.117 MB / 474.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007387, allocations: 4 kB / 0.5543 GB, free: 1.113 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.02095, allocations: 2.474 MB / 0.5567 GB, free: 14.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.17/7.191, allocations: 5.031 kB / 0.5567 GB, free: 14.79 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.75298170838505] Failed to read output from testmodel.py, exit status != 0: 7.270691650919616 7.279928931 7.275359771 Calling exit ...