Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.0008433/0.0008433, 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.0009622/0.0009622, allocations: 165.9 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.8543/0.8543, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001499/0.001499, allocations: 246.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6461/0.6461, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6462 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.128e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.229/0.229, allocations: 4.487 MB / 0.6506 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1153/0.3443, allocations: 132.7 MB / 0.7802 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.3452, allocations: 23.81 kB / 0.7802 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.3457, allocations: 198.1 kB / 0.7804 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3474, allocations: 0.5865 MB / 0.781 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.3494, allocations: 0.8538 MB / 0.7818 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3507, allocations: 1.433 MB / 0.7832 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.3512, allocations: 392.6 kB / 0.7836 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.3518, allocations: 0.7211 MB / 0.7843 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.3522, allocations: 390.8 kB / 0.7847 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/0.3523, allocations: 116 kB / 0.7848 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.353, allocations: 491.4 kB / 0.7853 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3532, allocations: 307 kB / 0.7856 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.3534, allocations: 383 kB / 0.7859 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.3548, allocations: 1.764 MB / 0.7877 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3548, allocations: 0 / 0.7877 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3548, allocations: 0 / 0.7877 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.3549, allocations: 0 / 0.7877 GB, free: 10.26 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001836/0.3567, allocations: 1.405 MB / 0.789 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3567, allocations: 9.938 kB / 0.789 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.3568, allocations: 139.3 kB / 0.7892 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.3576, allocations: 232.7 kB / 0.7894 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.3584, allocations: 0.7025 MB / 0.7901 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.3584, allocations: 73.92 kB / 0.7901 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.3585, allocations: 76 kB / 0.7902 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3595, allocations: 1.166 MB / 0.7914 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3595, allocations: 0 / 0.7914 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.3596, allocations: 32.66 kB / 0.7914 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3596, allocations: 20 kB / 0.7914 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.3606, allocations: 1.054 MB / 0.7924 GB, free: 5.188 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.3631, allocations: 2.296 MB / 0.7947 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/0.364, allocations: 0.7336 MB / 0.7954 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.3645, allocations: 274.6 kB / 0.7957 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.074e-05/0.3646, allocations: 24.62 kB / 0.7957 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.3651, allocations: 0.5838 MB / 0.7962 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=78): time 3.367e-06/0.3651, allocations: 0 / 0.7962 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.001785/0.3669, allocations: 1.109 MB / 0.7973 GB, free: 60 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.367, allocations: 192.6 kB / 0.7975 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.3676, allocations: 0.6568 MB / 0.7982 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.3676, allocations: 41.7 kB / 0.7982 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3679, allocations: 412.9 kB / 0.7986 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.368, allocations: 261.7 kB / 0.7988 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3681, allocations: 146.6 kB / 0.799 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3682, allocations: 390.7 kB / 0.7994 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.3685, allocations: 245.9 kB / 0.7996 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.3689, allocations: 491.9 kB / 0.8001 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.3696, allocations: 0.5768 MB / 0.8006 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3696, allocations: 0 / 0.8006 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001052/0.3706, allocations: 0.7946 MB / 0.8014 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3706, allocations: 15.98 kB / 0.8014 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3706, allocations: 0 / 0.8014 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.3709, allocations: 80.77 kB / 0.8015 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.3713, allocations: 154 kB / 0.8016 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.3728, allocations: 1.512 MB / 0.8031 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.3732, allocations: 87.55 kB / 0.8032 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3733, allocations: 27.98 kB / 0.8032 GB, free: 9.742 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003485/0.3736, allocations: 273.8 kB / 0.8035 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3737, allocations: 95.36 kB / 0.8036 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.375, allocations: 1.044 MB / 0.8046 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3751, allocations: 8 kB / 0.8046 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3751, allocations: 3.938 kB / 0.8046 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3751, allocations: 7.969 kB / 0.8046 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.3757, allocations: 0.7507 MB / 0.8053 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3757, allocations: 0.9375 kB / 0.8053 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.376, allocations: 142.4 kB / 0.8055 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.3762, allocations: 72.78 kB / 0.8055 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.3763, allocations: 23.98 kB / 0.8056 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.3774, allocations: 1.554 MB / 0.8071 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3774, allocations: 0 / 0.8071 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.3785, allocations: 0.9166 MB / 0.808 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.3788, allocations: 199.1 kB / 0.8082 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.3789, allocations: 20 kB / 0.8082 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.3792, allocations: 64.55 kB / 0.8083 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3793, allocations: 72.86 kB / 0.8083 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.3793, allocations: 35.98 kB / 0.8084 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004008/0.3797, allocations: 479 kB / 0.8088 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3797, allocations: 0 / 0.8088 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006095/0.3803, allocations: 319.2 kB / 0.8091 GB, free: 3.504 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002523/0.3828, allocations: 2.014 MB / 0.8111 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.3839, allocations: 0.757 MB / 0.8118 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3839, allocations: 0 / 0.8118 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.3844, allocations: 0.4926 MB / 0.8123 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.3852, allocations: 313.8 kB / 0.8126 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/0.3923, allocations: 6.248 MB / 0.8187 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3926, allocations: 443.5 kB / 0.8191 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005557/0.3932, allocations: 266.7 kB / 0.8194 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.3935, allocations: 396.3 kB / 0.8198 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/0.3935, allocations: 0 / 0.8198 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.4301, allocations: 23.53 MB / 0.8427 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.44, allocations: 6.953 kB / 0.8427 GB, free: 1.461 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.158091257326305] Failed to read output from testmodel.py, exit status != 0: 8.587832619436085 8.595749878 8.239011338 Calling exit ...