Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.001501/0.0015, allocations: 105.2 kB / 16.4 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 196 kB / 17.34 MB, free: 5.691 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7882/0.7882, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.25 kB / 0.5679 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1529, allocations: 77.94 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00679/0.1598, allocations: 5.086 MB / 0.649 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5366/0.6964, allocations: 150.6 MB / 0.7961 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.6972, allocations: 16.62 kB / 0.7961 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.6978, allocations: 199.3 kB / 0.7963 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.6996, allocations: 0.5584 MB / 0.7969 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.7016, allocations: 0.8447 MB / 0.7977 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.7031, allocations: 1.436 MB / 0.7991 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.704, allocations: 0.5935 MB / 0.7997 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.7046, allocations: 500 kB / 0.8001 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.7051, allocations: 0.5227 MB / 0.8007 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.7052, allocations: 118.8 kB / 0.8008 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008687/0.7061, allocations: 483.7 kB / 0.8012 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.7064, allocations: 297.5 kB / 0.8015 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.7068, allocations: 0.581 MB / 0.8021 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.7086, allocations: 1.666 MB / 0.8037 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7087, allocations: 2.391 kB / 0.8037 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7087, allocations: 1.969 kB / 0.8037 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.7087, allocations: 0 / 0.8037 GB, free: 11.56 MB / 0.5919 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.00249/0.7112, allocations: 1.511 MB / 0.8052 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7112, allocations: 10.94 kB / 0.8052 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.7114, allocations: 138.5 kB / 0.8053 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/0.7124, allocations: 197.5 kB / 0.8055 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.7134, allocations: 0.7851 MB / 0.8063 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.7135, allocations: 64.56 kB / 0.8063 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.7136, allocations: 84.56 kB / 0.8064 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.7151, allocations: 0.9372 MB / 0.8073 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.7152, allocations: 6.406 kB / 0.8073 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.7153, allocations: 35.72 kB / 0.8074 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.7153, allocations: 20.84 kB / 0.8074 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.7171, allocations: 1.119 MB / 0.8085 GB, free: 9.758 MB / 0.5919 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.004133/0.7212, allocations: 2.759 MB / 0.8112 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.7227, allocations: 0.8047 MB / 0.812 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.7233, allocations: 305.4 kB / 0.8123 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/0.7234, allocations: 35.12 kB / 0.8123 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007966/0.7242, allocations: 497.3 kB / 0.8128 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.7242, allocations: 4 kB / 0.8128 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.0031/0.7273, allocations: 1.21 MB / 0.814 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.7274, allocations: 198.5 kB / 0.8141 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.7282, allocations: 0.6435 MB / 0.8148 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.7282, allocations: 42.42 kB / 0.8148 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.7286, allocations: 411.7 kB / 0.8152 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.7288, allocations: 281.7 kB / 0.8155 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.729, allocations: 149.1 kB / 0.8156 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7292, allocations: 388.6 kB / 0.816 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.7296, allocations: 250.7 kB / 0.8162 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.7302, allocations: 362.1 kB / 0.8166 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.7313, allocations: 0.5906 MB / 0.8172 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7313, allocations: 2.625 kB / 0.8172 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001824/0.7331, allocations: 0.8166 MB / 0.818 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7331, allocations: 10.59 kB / 0.818 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.7331, allocations: 3.984 kB / 0.818 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.7337, allocations: 83.12 kB / 0.818 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.7344, allocations: 156 kB / 0.8182 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.7364, allocations: 1.64 MB / 0.8198 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.7371, allocations: 89.58 kB / 0.8199 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.7372, allocations: 36.09 kB / 0.8199 GB, free: 2.758 MB / 0.5919 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.0004158/0.7376, allocations: 268.6 kB / 0.8202 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.7377, allocations: 87.41 kB / 0.8203 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.7401, allocations: 1.079 MB / 0.8213 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7401, allocations: 9.656 kB / 0.8213 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.7401, allocations: 4 kB / 0.8213 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7401, allocations: 7.969 kB / 0.8213 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.7411, allocations: 0.9071 MB / 0.8222 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.7411, allocations: 0 / 0.8222 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.7417, allocations: 153.8 kB / 0.8224 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.7422, allocations: 74.19 kB / 0.8224 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.7422, allocations: 27.86 kB / 0.8225 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.7441, allocations: 1.653 MB / 0.8241 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7441, allocations: 2.156 kB / 0.8241 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.7466, allocations: 1.348 MB / 0.8254 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.747, allocations: 272.1 kB / 0.8257 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.7471, allocations: 20.94 kB / 0.8257 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.7478, allocations: 72.58 kB / 0.8257 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7479, allocations: 65.69 kB / 0.8258 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.748, allocations: 38.38 kB / 0.8258 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005327/0.7485, allocations: 465.9 kB / 0.8263 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7485, allocations: 0 / 0.8263 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008377/0.7494, allocations: 332.9 kB / 0.8266 GB, free: 14.08 MB / 0.6075 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.003956/0.7533, allocations: 2.393 MB / 0.8289 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.7549, allocations: 0.8084 MB / 0.8297 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7549, allocations: 2.094 kB / 0.8297 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.7558, allocations: 0.5177 MB / 0.8302 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.757, allocations: 306.3 kB / 0.8305 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009575/0.7666, allocations: 6.391 MB / 0.8368 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.7671, allocations: 1.031 MB / 0.8378 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008108/0.768, allocations: 266.8 kB / 0.838 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.7685, allocations: 395.3 kB / 0.8384 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.7685, allocations: 0 / 0.8384 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.8194, allocations: 21.89 MB / 0.8598 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.44, allocations: 1.625 kB / 0.8598 GB, free: 15.94 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)