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.001785/0.001785, allocations: 108.5 kB / 16.41 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.001983/0.001983, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9013/0.9013, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 66.61 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.172, allocations: 78.86 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007705/0.1798, allocations: 5.099 MB / 0.6555 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5875/0.7673, allocations: 150.6 MB / 0.8026 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.7687, allocations: 21.38 kB / 0.8026 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.7696, allocations: 199.3 kB / 0.8028 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.7721, allocations: 0.5512 MB / 0.8034 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.775, allocations: 0.8402 MB / 0.8042 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.7776, allocations: 1.428 MB / 0.8056 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.779, allocations: 0.5864 MB / 0.8061 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.7801, allocations: 0.492 MB / 0.8066 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.7812, allocations: 0.5163 MB / 0.8071 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.7817, allocations: 117.7 kB / 0.8072 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.7831, allocations: 487 kB / 0.8077 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.7836, allocations: 303.1 kB / 0.808 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009627/0.7845, allocations: 0.5815 MB / 0.8086 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.7873, allocations: 1.663 MB / 0.8102 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.7874, allocations: 2.156 kB / 0.8102 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7874, allocations: 7.938 kB / 0.8102 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.199e-05/0.7874, allocations: 0 / 0.8102 GB, free: 10.85 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.003522/0.791, allocations: 1.498 MB / 0.8117 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.791, allocations: 9.781 kB / 0.8117 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.7912, allocations: 136.4 kB / 0.8118 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/0.7922, allocations: 201 kB / 0.812 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7934, allocations: 0.7863 MB / 0.8128 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.7935, allocations: 66.34 kB / 0.8128 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.7936, allocations: 82.5 kB / 0.8129 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.7951, allocations: 0.9446 MB / 0.8138 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.7951, allocations: 0 / 0.8138 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.7952, allocations: 37.25 kB / 0.8139 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.7953, allocations: 20.5 kB / 0.8139 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.797, allocations: 1.124 MB / 0.815 GB, free: 8.598 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.004318/0.8013, allocations: 2.829 MB / 0.8177 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.8028, allocations: 0.8088 MB / 0.8185 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.8034, allocations: 307.2 kB / 0.8188 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.8035, allocations: 35.55 kB / 0.8189 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/0.8044, allocations: 496.5 kB / 0.8193 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.8044, allocations: 0 / 0.8193 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003301/0.8077, allocations: 1.214 MB / 0.8205 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.8079, allocations: 196.5 kB / 0.8207 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.8088, allocations: 0.637 MB / 0.8213 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.8089, allocations: 51 kB / 0.8214 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.8092, allocations: 415 kB / 0.8218 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.8095, allocations: 282.9 kB / 0.822 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.8098, allocations: 150.9 kB / 0.8222 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.81, allocations: 386.9 kB / 0.8226 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.8105, allocations: 249.1 kB / 0.8228 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.8111, allocations: 366.3 kB / 0.8231 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.8122, allocations: 0.5923 MB / 0.8237 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8123, allocations: 0 / 0.8237 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002015/0.8143, allocations: 0.8122 MB / 0.8245 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.8143, allocations: 14.06 kB / 0.8245 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.8143, allocations: 2.219 kB / 0.8245 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.815, allocations: 83.33 kB / 0.8246 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.8156, allocations: 154.4 kB / 0.8248 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.818, allocations: 1.635 MB / 0.8264 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/0.8189, allocations: 89.16 kB / 0.8264 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.819, allocations: 32.39 kB / 0.8265 GB, free: 0.6133 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.000542/0.8195, allocations: 261.8 kB / 0.8267 GB, free: 416 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.8197, allocations: 92.12 kB / 0.8268 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.8223, allocations: 1.08 MB / 0.8279 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.8224, allocations: 7.375 kB / 0.8279 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8224, allocations: 0 / 0.8279 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.8224, allocations: 3.984 kB / 0.8279 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.824, allocations: 0.9134 MB / 0.8288 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8241, allocations: 0 / 0.8288 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.8247, allocations: 154.3 kB / 0.8289 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.8252, allocations: 72 kB / 0.829 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.8253, allocations: 29.98 kB / 0.829 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.8273, allocations: 1.66 MB / 0.8306 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8273, allocations: 0 / 0.8306 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.8301, allocations: 1.341 MB / 0.8319 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.8305, allocations: 275.8 kB / 0.8322 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.8307, allocations: 21.28 kB / 0.8322 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/0.8313, allocations: 76.25 kB / 0.8323 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.8315, allocations: 68.34 kB / 0.8324 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.8316, allocations: 38.88 kB / 0.8324 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006073/0.8322, allocations: 466.2 kB / 0.8328 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8322, allocations: 0 / 0.8328 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008477/0.8331, allocations: 330.4 kB / 0.8332 GB, free: 11.94 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.00484/0.8379, allocations: 2.398 MB / 0.8355 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.8397, allocations: 0.8083 MB / 0.8363 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8397, allocations: 0 / 0.8363 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009465/0.8406, allocations: 0.5205 MB / 0.8368 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.842, allocations: 302.9 kB / 0.8371 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.8535, allocations: 6.388 MB / 0.8433 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/0.8543, allocations: 1.031 MB / 0.8443 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009619/0.8553, allocations: 258.8 kB / 0.8446 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005893/0.8559, allocations: 395.3 kB / 0.845 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.8559, allocations: 0 / 0.845 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/0.9194, allocations: 21.91 MB / 0.8664 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.44, allocations: 9.094 kB / 0.8664 GB, free: 12.59 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)