Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001318/0.001318, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 183.4 kB / 16.66 MB, free: 6.602 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 282.4 kB / 290.8 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003389/0.003389, allocations: 95.83 kB / 0.6943 GB, free: 3.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5606, allocations: 89.13 MB / 0.7813 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.207/0.7677, allocations: 166 MB / 0.9435 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.7806, allocations: 7.816 MB / 0.9511 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.7821, allocations: 35.81 kB / 0.9512 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.7834, allocations: 396.9 kB / 0.9515 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.7872, allocations: 1.309 MB / 0.9528 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.7901, allocations: 1.174 MB / 0.954 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.7934, allocations: 2.361 MB / 0.9563 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.7952, allocations: 1.19 MB / 0.9574 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.7967, allocations: 0.8173 MB / 0.9582 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.7985, allocations: 0.7896 MB / 0.959 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.7987, allocations: 148 kB / 0.9591 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.8012, allocations: 1.123 MB / 0.9602 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.8017, allocations: 434.6 kB / 0.9607 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008791/0.8025, allocations: 0.7774 MB / 0.9614 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.8062, allocations: 2.425 MB / 0.9638 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8062, allocations: 3.938 kB / 0.9638 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8062, allocations: 0 / 0.9638 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.674e-05/0.8063, allocations: 3.938 kB / 0.9638 GB, free: 3.91 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003568/0.8099, allocations: 1.931 MB / 0.9657 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8099, allocations: 12.03 kB / 0.9657 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.8101, allocations: 164.9 kB / 0.9658 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.8121, allocations: 338.7 kB / 0.9662 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.8139, allocations: 1.031 MB / 0.9672 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.814, allocations: 82.2 kB / 0.9672 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.8142, allocations: 112 kB / 0.9674 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.8163, allocations: 1.168 MB / 0.9685 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.8164, allocations: 0 / 0.9685 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.8165, allocations: 48 kB / 0.9685 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.8165, allocations: 46.05 kB / 0.9686 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.8187, allocations: 1.308 MB / 0.9699 GB, free: 13.48 MB / 0.7325 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.00613/0.8249, allocations: 3.812 MB / 0.9736 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.8268, allocations: 0.989 MB / 0.9746 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/0.8275, allocations: 402.8 kB / 0.9749 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.8276, allocations: 40.95 kB / 0.975 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.8286, allocations: 0.5874 MB / 0.9755 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=102): time 2.575e-06/0.8286, allocations: 0 / 0.9755 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.003791/0.8324, allocations: 1.443 MB / 0.977 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.8326, allocations: 200.9 kB / 0.9771 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8338, allocations: 0.8263 MB / 0.978 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.8339, allocations: 49.7 kB / 0.978 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.8344, allocations: 0.5324 MB / 0.9785 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.8347, allocations: 349 kB / 0.9789 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.835, allocations: 194.5 kB / 0.979 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8352, allocations: 337.9 kB / 0.9794 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.8358, allocations: 313.8 kB / 0.9797 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.8366, allocations: 479.6 kB / 0.9801 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.838, allocations: 0.7737 MB / 0.9809 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.8381, allocations: 0 / 0.9809 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00252/0.8406, allocations: 1.032 MB / 0.9819 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.8406, allocations: 11.94 kB / 0.9819 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.8406, allocations: 224 / 0.9819 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.8413, allocations: 84.77 kB / 0.982 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.8421, allocations: 211.7 kB / 0.9822 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.8444, allocations: 1.644 MB / 0.9838 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8455, allocations: 111.4 kB / 0.9839 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.8456, allocations: 39.97 kB / 0.9839 GB, free: 14.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.000742/0.8463, allocations: 313.6 kB / 0.9842 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.8467, allocations: 119.2 kB / 0.9843 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.8495, allocations: 1.244 MB / 0.9856 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.8495, allocations: 16 kB / 0.9856 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8495, allocations: 0 / 0.9856 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.8495, allocations: 3.984 kB / 0.9856 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.8513, allocations: 1.173 MB / 0.9867 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.8513, allocations: 0 / 0.9867 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.8522, allocations: 211.7 kB / 0.9869 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.8527, allocations: 68.8 kB / 0.987 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/0.8528, allocations: 35.97 kB / 0.987 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.8548, allocations: 1.662 MB / 0.9886 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8548, allocations: 3.938 kB / 0.9886 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.8581, allocations: 1.578 MB / 0.9902 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.8587, allocations: 324 kB / 0.9905 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.8589, allocations: 24 kB / 0.9905 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008841/0.8598, allocations: 82.14 kB / 0.9906 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.86, allocations: 84.88 kB / 0.9907 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.582e-05/0.8601, allocations: 35.98 kB / 0.9907 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008907/0.861, allocations: 0.5821 MB / 0.9913 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.861, allocations: 0 / 0.9913 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001222/0.8622, allocations: 431 kB / 0.9917 GB, free: 6.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005685/0.8679, allocations: 2.652 MB / 0.9943 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.8702, allocations: 0.9681 MB / 0.9952 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8702, allocations: 8.125 kB / 0.9952 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.8713, allocations: 0.5939 MB / 0.9958 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.8737, allocations: 0.5025 MB / 0.9963 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.8893, allocations: 8.24 MB / 1.004 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.8903, allocations: 1.158 MB / 1.005 GB, free: 8.098 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001265/0.8916, allocations: 321.1 kB / 1.006 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.8924, allocations: 0.5149 MB / 1.006 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of SimCode: time 1.903e-06/0.8925, allocations: 0 / 1.006 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08483/0.9773, allocations: 29.63 MB / 1.035 GB, free: 10.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.89, allocations: 0 / 1.035 GB, free: 10.05 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3_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_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)