Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001494/0.001494, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.001776/0.001776, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7775/0.7775, allocations: 122.8 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.53 kB / 0.5679 GB, free: 28.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1525, allocations: 77.93 MB / 0.644 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006377/0.1589, allocations: 4.9 MB / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5104/0.6694, allocations: 150.6 MB / 0.7959 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.6706, allocations: 18.53 kB / 0.7959 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.6713, allocations: 193.7 kB / 0.7961 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.6736, allocations: 0.5422 MB / 0.7966 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.6756, allocations: 0.8324 MB / 0.7974 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.6772, allocations: 1.375 MB / 0.7988 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008981/0.6781, allocations: 0.5833 MB / 0.7993 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.6787, allocations: 484.8 kB / 0.7998 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.6792, allocations: 0.4925 MB / 0.8003 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.6794, allocations: 117 kB / 0.8004 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000981/0.6803, allocations: 488.8 kB / 0.8008 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.6806, allocations: 287.7 kB / 0.8011 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.6812, allocations: 0.5536 MB / 0.8017 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.6831, allocations: 1.631 MB / 0.8033 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6831, allocations: 0 / 0.8033 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6831, allocations: 0 / 0.8033 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.6831, allocations: 0 / 0.8033 GB, free: 11.62 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002576/0.6857, allocations: 1.465 MB / 0.8047 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6858, allocations: 18.41 kB / 0.8047 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.6859, allocations: 135.8 kB / 0.8048 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/0.6868, allocations: 190.8 kB / 0.805 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.688, allocations: 0.7661 MB / 0.8058 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.688, allocations: 65.78 kB / 0.8058 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.6881, allocations: 82.12 kB / 0.8059 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.6896, allocations: 0.9111 MB / 0.8068 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6896, allocations: 0 / 0.8068 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.6897, allocations: 36.81 kB / 0.8068 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.6897, allocations: 24.86 kB / 0.8069 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.6913, allocations: 1.096 MB / 0.8079 GB, free: 9.914 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.003765/0.695, allocations: 2.744 MB / 0.8106 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.6964, allocations: 0.7782 MB / 0.8114 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.6969, allocations: 306.9 kB / 0.8117 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.697, allocations: 35.12 kB / 0.8117 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.6978, allocations: 488.9 kB / 0.8122 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.6978, allocations: 0 / 0.8122 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003077/0.7009, allocations: 1.181 MB / 0.8133 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.701, allocations: 190.4 kB / 0.8135 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.7018, allocations: 0.6393 MB / 0.8141 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.7019, allocations: 38.61 kB / 0.8142 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.7022, allocations: 413.2 kB / 0.8145 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.7024, allocations: 258.2 kB / 0.8148 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7026, allocations: 149.1 kB / 0.8149 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7028, allocations: 388 kB / 0.8153 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.7032, allocations: 243.5 kB / 0.8155 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.7038, allocations: 369.8 kB / 0.8159 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.7048, allocations: 0.58 MB / 0.8165 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7048, allocations: 0 / 0.8165 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001777/0.7066, allocations: 0.7952 MB / 0.8172 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7066, allocations: 4.719 kB / 0.8172 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7066, allocations: 2.531 kB / 0.8172 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.7073, allocations: 83.73 kB / 0.8173 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.7079, allocations: 146.9 kB / 0.8175 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.71, allocations: 1.639 MB / 0.8191 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.7108, allocations: 98 kB / 0.8192 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.7109, allocations: 27.55 kB / 0.8192 GB, free: 3.066 MB / 0.5919 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.0004799/0.7114, allocations: 271 kB / 0.8194 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.7116, allocations: 83.64 kB / 0.8195 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.7138, allocations: 1.042 MB / 0.8205 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.7138, allocations: 7.531 kB / 0.8205 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7138, allocations: 5.906 kB / 0.8205 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7139, allocations: 11.92 kB / 0.8206 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.7149, allocations: 0.8846 MB / 0.8214 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7149, allocations: 0 / 0.8214 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.7155, allocations: 144.4 kB / 0.8216 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/0.7159, allocations: 74.12 kB / 0.8216 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.716, allocations: 23.98 kB / 0.8217 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.7179, allocations: 1.655 MB / 0.8233 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.718, allocations: 7.719 kB / 0.8233 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.72, allocations: 0.9198 MB / 0.8242 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.7204, allocations: 267.8 kB / 0.8244 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.7206, allocations: 25.77 kB / 0.8245 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.7212, allocations: 65.3 kB / 0.8245 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.7213, allocations: 70.31 kB / 0.8246 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.7214, allocations: 38.28 kB / 0.8246 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006117/0.722, allocations: 463.6 kB / 0.8251 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.722, allocations: 0 / 0.8251 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000958/0.723, allocations: 314.7 kB / 0.8254 GB, free: 14.66 MB / 0.6075 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.003669/0.7267, allocations: 1.966 MB / 0.8273 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.7285, allocations: 0.7838 MB / 0.828 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7285, allocations: 2.094 kB / 0.828 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009404/0.7295, allocations: 0.5178 MB / 0.8286 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.7309, allocations: 306.3 kB / 0.8288 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.7415, allocations: 6.165 MB / 0.8349 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.7421, allocations: 1.025 MB / 0.8359 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008464/0.743, allocations: 263.1 kB / 0.8361 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/0.7435, allocations: 391.3 kB / 0.8365 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of SimCode: time 1.413e-06/0.7435, allocations: 0 / 0.8365 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.7914, allocations: 21.42 MB / 0.8574 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.33, allocations: 5.891 kB / 0.8574 GB, free: 2.227 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)