Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.00122/0.00122, allocations: 99.78 kB / 16.4 MB, free: 6.484 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.00118/0.00118, allocations: 188 kB / 17.34 MB, free: 5.734 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7804/0.7804, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.27 kB / 0.568 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007052/0.1588, allocations: 5.194 MB / 0.6491 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5081/0.6669, allocations: 150.7 MB / 0.7963 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008289/0.6678, allocations: 16.94 kB / 0.7963 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.6684, allocations: 198.7 kB / 0.7965 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.6702, allocations: 0.5746 MB / 0.797 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.6721, allocations: 0.8476 MB / 0.7978 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.6734, allocations: 1.463 MB / 0.7993 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.6742, allocations: 0.6054 MB / 0.7999 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.6749, allocations: 0.4984 MB / 0.8004 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.6754, allocations: 0.5307 MB / 0.8009 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.6756, allocations: 120.8 kB / 0.801 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.6764, allocations: 490 kB / 0.8015 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.6767, allocations: 312.5 kB / 0.8018 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.6772, allocations: 0.5829 MB / 0.8023 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.6791, allocations: 1.701 MB / 0.804 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.6791, allocations: 0 / 0.804 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6791, allocations: 0 / 0.804 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.6791, allocations: 0 / 0.804 GB, free: 11.49 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002679/0.6818, allocations: 1.534 MB / 0.8055 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6819, allocations: 10.78 kB / 0.8055 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.682, allocations: 138.1 kB / 0.8056 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.6829, allocations: 194.5 kB / 0.8058 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.6841, allocations: 0.7924 MB / 0.8066 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.6841, allocations: 76.45 kB / 0.8067 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.6843, allocations: 84.81 kB / 0.8067 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.686, allocations: 0.9571 MB / 0.8077 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.6861, allocations: 5.688 kB / 0.8077 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.6862, allocations: 35.47 kB / 0.8077 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.6862, allocations: 22.44 kB / 0.8077 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.6878, allocations: 1.135 MB / 0.8088 GB, free: 9.645 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.004092/0.6919, allocations: 2.793 MB / 0.8116 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.6934, allocations: 0.8454 MB / 0.8124 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.6939, allocations: 325.3 kB / 0.8127 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-05/0.694, allocations: 35.61 kB / 0.8127 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.6949, allocations: 0.5054 MB / 0.8132 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.6949, allocations: 7.938 kB / 0.8132 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003295/0.6982, allocations: 1.251 MB / 0.8145 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.6984, allocations: 191 kB / 0.8146 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008019/0.6992, allocations: 0.6432 MB / 0.8153 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.6993, allocations: 43.14 kB / 0.8153 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.6996, allocations: 423.4 kB / 0.8157 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.6998, allocations: 292 kB / 0.816 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.7001, allocations: 153.3 kB / 0.8161 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7003, allocations: 394.7 kB / 0.8165 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.7008, allocations: 258.3 kB / 0.8168 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.7014, allocations: 360.9 kB / 0.8171 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.7025, allocations: 0.6159 MB / 0.8177 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7025, allocations: 4.812 kB / 0.8177 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001885/0.7044, allocations: 0.8421 MB / 0.8185 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7044, allocations: 7.625 kB / 0.8185 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7044, allocations: 0 / 0.8185 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/0.705, allocations: 79.56 kB / 0.8186 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.7057, allocations: 163 kB / 0.8188 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.7082, allocations: 1.628 MB / 0.8204 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/0.709, allocations: 104 kB / 0.8205 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.7091, allocations: 31.58 kB / 0.8205 GB, free: 2.469 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 (92): * Single equations (assignments): 91 * 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.0005788/0.7097, allocations: 280.6 kB / 0.8208 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.71, allocations: 95.42 kB / 0.8209 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.7123, allocations: 1.096 MB / 0.8219 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.7123, allocations: 9.344 kB / 0.8219 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7123, allocations: 4 kB / 0.8219 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.7124, allocations: 7.969 kB / 0.8219 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.7137, allocations: 0.9233 MB / 0.8228 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.7137, allocations: 0 / 0.8228 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.7143, allocations: 156.5 kB / 0.823 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.7148, allocations: 78.22 kB / 0.8231 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.7149, allocations: 23.86 kB / 0.8231 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.7168, allocations: 1.66 MB / 0.8247 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7168, allocations: 0 / 0.8247 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.7196, allocations: 1.368 MB / 0.826 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.7201, allocations: 288.4 kB / 0.8263 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.7203, allocations: 23.47 kB / 0.8263 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/0.721, allocations: 70.7 kB / 0.8264 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.7212, allocations: 72.16 kB / 0.8265 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.7213, allocations: 38.34 kB / 0.8265 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006451/0.7219, allocations: 469.4 kB / 0.827 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7219, allocations: 0 / 0.827 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00093/0.7229, allocations: 337.6 kB / 0.8273 GB, free: 13.74 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 (96): * Single equations (assignments): 90 * 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.004387/0.7273, allocations: 2.426 MB / 0.8297 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.7291, allocations: 0.824 MB / 0.8305 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7291, allocations: 0 / 0.8305 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.73, allocations: 0.5327 MB / 0.831 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.7314, allocations: 311.8 kB / 0.8313 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.7427, allocations: 6.541 MB / 0.8377 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.7434, allocations: 1.043 MB / 0.8387 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008796/0.7443, allocations: 266.9 kB / 0.8389 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.7449, allocations: 403.3 kB / 0.8393 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.745, allocations: 4 kB / 0.8393 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05338/0.7983, allocations: 22.24 MB / 0.861 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.74, allocations: 6.812 kB / 0.8611 GB, free: 14.73 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)