Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0007853/0.0007853, 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.0008278/0.0008278, allocations: 169.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.849/0.849, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001413/0.001413, allocations: 237.2 kB / 259.4 MB, free: 13.01 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.6684/0.6684, allocations: 138.4 MB / 454.3 MB, free: 29.9 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.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 4 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.854e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.229/0.229, allocations: 4.655 MB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1126/0.3416, allocations: 132.8 MB / 0.7805 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.3424, allocations: 23.88 kB / 0.7805 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.343, allocations: 210 kB / 0.7807 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.3445, allocations: 0.5942 MB / 0.7813 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.3461, allocations: 0.8649 MB / 0.7821 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3474, allocations: 1.487 MB / 0.7836 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005663/0.3479, allocations: 401.8 kB / 0.7839 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006976/0.3486, allocations: 0.7445 MB / 0.7847 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.349, allocations: 411.3 kB / 0.7851 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3491, allocations: 120 kB / 0.7852 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000761/0.3499, allocations: 0.4915 MB / 0.7856 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.3501, allocations: 322.9 kB / 0.786 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3503, allocations: 395 kB / 0.7863 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.352, allocations: 1.799 MB / 0.7881 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.352, allocations: 0 / 0.7881 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.352, allocations: 8.594 kB / 0.7881 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.352, allocations: 0 / 0.7881 GB, free: 9.723 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001712/0.3537, allocations: 1.44 MB / 0.7895 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3538, allocations: 9.938 kB / 0.7895 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.3539, allocations: 139.6 kB / 0.7896 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007641/0.3547, allocations: 236 kB / 0.7899 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.3555, allocations: 0.7336 MB / 0.7906 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.3556, allocations: 66.5 kB / 0.7907 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.3557, allocations: 80 kB / 0.7907 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3567, allocations: 1.193 MB / 0.7919 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3568, allocations: 0 / 0.7919 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.3568, allocations: 36 kB / 0.7919 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.3568, allocations: 31.84 kB / 0.792 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3579, allocations: 1.077 MB / 0.793 GB, free: 4.527 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.002794/0.3607, allocations: 2.258 MB / 0.7952 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.3616, allocations: 0.7633 MB / 0.796 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.362, allocations: 285.9 kB / 0.7962 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.362, allocations: 24.64 kB / 0.7963 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005606/0.3626, allocations: 0.5956 MB / 0.7968 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.3626, allocations: 0 / 0.7968 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.001861/0.3644, allocations: 1.14 MB / 0.798 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.3645, allocations: 196.6 kB / 0.7981 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.3651, allocations: 0.6646 MB / 0.7988 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.3652, allocations: 41.7 kB / 0.7988 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.3654, allocations: 428.9 kB / 0.7992 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.3656, allocations: 273.7 kB / 0.7995 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.3657, allocations: 154.6 kB / 0.7996 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3659, allocations: 382.8 kB / 0.8 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3662, allocations: 253.9 kB / 0.8003 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.3666, allocations: 491.1 kB / 0.8007 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.3674, allocations: 0.5877 MB / 0.8013 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3674, allocations: 0 / 0.8013 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001105/0.3685, allocations: 0.8179 MB / 0.8021 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3686, allocations: 11.94 kB / 0.8021 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3686, allocations: 5.031 kB / 0.8021 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.3689, allocations: 84.86 kB / 0.8022 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.3692, allocations: 155.8 kB / 0.8023 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3705, allocations: 1.522 MB / 0.8038 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.3709, allocations: 91.5 kB / 0.8039 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.371, allocations: 27.98 kB / 0.8039 GB, free: 8.949 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.0004107/0.3714, allocations: 269.5 kB / 0.8042 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3715, allocations: 91.44 kB / 0.8043 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3729, allocations: 1.078 MB / 0.8053 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3729, allocations: 11.94 kB / 0.8053 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3729, allocations: 4 kB / 0.8054 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3729, allocations: 7.984 kB / 0.8054 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.3737, allocations: 0.7663 MB / 0.8061 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3738, allocations: 0 / 0.8061 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.3741, allocations: 148.7 kB / 0.8062 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.3743, allocations: 76.78 kB / 0.8063 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.3743, allocations: 23.98 kB / 0.8063 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.3755, allocations: 1.546 MB / 0.8079 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3755, allocations: 0 / 0.8079 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.3773, allocations: 1.344 MB / 0.8092 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.3776, allocations: 203.1 kB / 0.8094 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.3777, allocations: 23.92 kB / 0.8094 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.378, allocations: 61.48 kB / 0.8094 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3781, allocations: 81 kB / 0.8095 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3781, allocations: 35.97 kB / 0.8096 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004146/0.3785, allocations: 491 kB / 0.81 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3785, allocations: 0 / 0.81 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006658/0.3792, allocations: 331.1 kB / 0.8103 GB, free: 2.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.002739/0.3819, allocations: 2.438 MB / 0.8127 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.383, allocations: 0.7765 MB / 0.8135 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.383, allocations: 0 / 0.8135 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.3836, allocations: 0.5003 MB / 0.814 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.3843, allocations: 310.8 kB / 0.8143 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.3915, allocations: 6.438 MB / 0.8205 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3918, allocations: 448.8 kB / 0.821 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005711/0.3924, allocations: 270.8 kB / 0.8212 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.3927, allocations: 404.3 kB / 0.8216 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/0.3927, allocations: 0 / 0.8216 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/0.4299, allocations: 24.02 MB / 0.8451 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.61, allocations: 3.984 kB / 0.8451 GB, free: 15.02 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.326734609901905] Failed to read output from testmodel.py, exit status != 0: 8.75731020141393 8.765843489 8.411979244 Calling exit ...