Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.006058/0.006058, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001151/0.001151, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 63.91 kB / 0.5851 GB, free: 3.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4579, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.193/0.6509, allocations: 163.1 MB / 0.8234 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04313/0.6941, allocations: 27.45 MB / 0.8502 GB, free: 2.391 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005091/0.6993, allocations: 83.62 kB / 0.8503 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003556/0.7029, allocations: 1.134 MB / 0.8514 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006844/0.7098, allocations: 1.947 MB / 0.8533 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.7157, allocations: 1.974 MB / 0.8552 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009374/0.7251, allocations: 5.867 MB / 0.861 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008026/0.7331, allocations: 4.873 MB / 0.8657 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00823/0.7414, allocations: 2.347 MB / 0.868 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5521/1.294, allocations: 2.815 MB / 0.8708 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00242/1.296, allocations: 0.5197 MB / 0.8713 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/1.301, allocations: 1.135 MB / 0.8724 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002602/1.303, allocations: 1.366 MB / 0.8737 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006511/1.31, allocations: 2.391 MB / 0.876 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/1.322, allocations: 6.791 MB / 0.8827 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.322, allocations: 0.875 kB / 0.8827 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/1.322, allocations: 0 / 0.8827 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003471/1.323, allocations: 1.656 kB / 0.8827 GB, free: 9.375 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01787/1.341, allocations: 5.233 MB / 0.8878 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.341, allocations: 10.84 kB / 0.8878 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001163/1.342, allocations: 0.5132 MB / 0.8883 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/1.357, allocations: 2.853 MB / 0.8911 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007863/1.365, allocations: 2.568 MB / 0.8936 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/1.366, allocations: 282.4 kB / 0.8939 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/1.367, allocations: 370.8 kB / 0.8942 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/1.383, allocations: 5.73 MB / 0.8998 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.664e-05/1.383, allocations: 2.344 kB / 0.8998 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004763/1.384, allocations: 158.3 kB / 0.9 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/1.384, allocations: 90.19 kB / 0.9001 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/1.401, allocations: 6.854 MB / 0.9067 GB, free: 5.961 MB / 0.6856 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.04431/1.446, allocations: 17.29 MB / 0.9236 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/1.457, allocations: 4.485 MB / 0.928 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007123/1.464, allocations: 2.943 MB / 0.9309 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.466, allocations: 0.6763 MB / 0.9315 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007627/1.473, allocations: 2.721 MB / 0.9342 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 9.478e-06/1.473, allocations: 0.875 kB / 0.9342 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.03063/1.504, allocations: 9.711 MB / 0.9437 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001981/1.504, allocations: 213.1 kB / 0.9439 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006401/1.511, allocations: 2.672 MB / 0.9465 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/1.512, allocations: 77.7 kB / 0.9466 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.514, allocations: 1.574 MB / 0.9481 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.517, allocations: 1.101 MB / 0.9492 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002475/1.519, allocations: 0.5251 MB / 0.9497 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.519, allocations: 305.1 kB / 0.95 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005671/1.525, allocations: 2.156 MB / 0.9521 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005952/1.531, allocations: 2.52 MB / 0.9546 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/1.542, allocations: 4.683 MB / 0.9591 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/1.542, allocations: 0 / 0.9591 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01498/1.557, allocations: 5.774 MB / 0.9648 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.557, allocations: 11.94 kB / 0.9648 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.557, allocations: 4 kB / 0.9648 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/1.559, allocations: 0.824 MB / 0.9656 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/1.564, allocations: 0.8002 MB / 0.9664 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.576, allocations: 7.585 MB / 0.9738 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/1.581, allocations: 0.5653 MB / 0.9743 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.582, allocations: 111.9 kB / 0.9744 GB, free: 11.44 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 282 * 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): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004521/1.587, allocations: 1.018 MB / 0.9754 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/1.589, allocations: 337 kB / 0.9758 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/1.607, allocations: 6.373 MB / 0.982 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/1.607, allocations: 36 kB / 0.982 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/1.608, allocations: 12 kB / 0.982 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/1.608, allocations: 15.94 kB / 0.982 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/1.636, allocations: 10.73 MB / 0.9925 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.636, allocations: 0 / 0.9925 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004554/1.64, allocations: 0.7697 MB / 0.9933 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.643, allocations: 0.734 MB / 0.994 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007947/1.643, allocations: 87.92 kB / 0.9941 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.656, allocations: 10.67 MB / 1.004 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.656, allocations: 0 / 1.004 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02534/1.682, allocations: 9.099 MB / 1.013 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/1.686, allocations: 0.9081 MB / 1.014 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001927/1.688, allocations: 67.89 kB / 1.014 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004577/1.693, allocations: 409.8 kB / 1.015 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/1.694, allocations: 210.3 kB / 1.015 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007105/1.695, allocations: 103.9 kB / 1.015 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004245/1.699, allocations: 1.932 MB / 1.017 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/1.699, allocations: 0 / 1.017 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006023/1.705, allocations: 1.228 MB / 1.018 GB, free: 14.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02582/1.731, allocations: 10.59 MB / 1.028 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.744, allocations: 5.483 MB / 1.034 GB, free: 14.53 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.745, allocations: 0 / 1.034 GB, free: 14.53 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008004/1.753, allocations: 3.34 MB / 1.037 GB, free: 11.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/1.758, allocations: 0.7837 MB / 1.038 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08912/1.848, allocations: 33.32 MB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/1.852, allocations: 2.699 MB / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005924/1.858, allocations: 1.165 MB / 1.074 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004044/1.862, allocations: 1.636 MB / 1.076 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of SimCode: time 1.102e-06/1.862, allocations: 0 / 1.076 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/2.028, allocations: 81.93 MB / 1.156 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/21.51, allocations: 3.266 kB / 1.156 GB, free: 2.297 MB / 0.9044 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)