Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.001467/0.001467, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001719, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9554/0.9554, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.12 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1537, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.4751/0.6288, allocations: 161.7 MB / 0.7424 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03879/0.6677, allocations: 27.04 MB / 0.7688 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004677/0.6724, allocations: 79.62 kB / 0.7689 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.6755, allocations: 1.068 MB / 0.7699 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.6821, allocations: 1.75 MB / 0.7716 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005484/0.6876, allocations: 1.797 MB / 0.7734 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008068/0.6956, allocations: 5.195 MB / 0.7785 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007372/0.703, allocations: 4.513 MB / 0.7829 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.7076, allocations: 2.125 MB / 0.7849 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.7118, allocations: 2.588 MB / 0.7875 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.7134, allocations: 488 kB / 0.7879 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.7167, allocations: 1.058 MB / 0.789 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002986/0.7197, allocations: 1.246 MB / 0.7902 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004734/0.7245, allocations: 2.188 MB / 0.7923 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007831/0.7323, allocations: 6.099 MB / 0.7983 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7324, allocations: 4 kB / 0.7983 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7324, allocations: 0 / 0.7983 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000162/0.7325, allocations: 4 kB / 0.7983 GB, free: 1.676 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01087/0.7434, allocations: 4.751 MB / 0.8029 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.7435, allocations: 12.03 kB / 0.8029 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006407/0.7441, allocations: 488.5 kB / 0.8034 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.7582, allocations: 2.78 MB / 0.8061 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/0.7635, allocations: 2.361 MB / 0.8084 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.7637, allocations: 262.9 kB / 0.8087 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006675/0.7644, allocations: 332 kB / 0.809 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.7758, allocations: 5.389 MB / 0.8143 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.7759, allocations: 3.938 kB / 0.8143 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.7763, allocations: 148 kB / 0.8144 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.7763, allocations: 84 kB / 0.8145 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.7906, allocations: 6.52 MB / 0.8208 GB, free: 10.32 MB / 0.6387 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.02592/0.8166, allocations: 15.73 MB / 0.8362 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008712/0.8253, allocations: 4.084 MB / 0.8402 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005403/0.8308, allocations: 2.651 MB / 0.8428 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/0.8318, allocations: 0.6775 MB / 0.8434 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00565/0.8374, allocations: 2.565 MB / 0.846 GB, free: 15.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=288): time 6.081e-06/0.8375, allocations: 0 / 0.846 GB, free: 15.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=288): time 0.02154/0.859, allocations: 8.394 MB / 0.8541 GB, free: 7.297 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8592, allocations: 222.2 kB / 0.8544 GB, free: 7.035 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.8635, allocations: 2.517 MB / 0.8568 GB, free: 4.496 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/0.864, allocations: 77.7 kB / 0.8569 GB, free: 4.414 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.8653, allocations: 1.432 MB / 0.8583 GB, free: 2.965 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.8665, allocations: 0.9588 MB / 0.8592 GB, free: 1.992 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.8678, allocations: 0.4931 MB / 0.8597 GB, free: 1.492 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.8679, allocations: 301.1 kB / 0.86 GB, free: 1.195 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3258/1.194, allocations: 2.034 MB / 0.862 GB, free: 214.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.199, allocations: 2.365 MB / 0.8643 GB, free: 214.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008491/1.207, allocations: 4.41 MB / 0.8686 GB, free: 213.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.207, allocations: 2.875 kB / 0.8686 GB, free: 213.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01127/1.218, allocations: 5.271 MB / 0.8737 GB, free: 212.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.219, allocations: 9.281 kB / 0.8738 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.219, allocations: 2.719 kB / 0.8738 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.22, allocations: 0.5467 MB / 0.8743 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.223, allocations: 0.7836 MB / 0.8751 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/1.23, allocations: 5.736 MB / 0.8807 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.233, allocations: 0.5454 MB / 0.8812 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.234, allocations: 107.9 kB / 0.8813 GB, free: 208.7 MB / 0.67 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001995/1.236, allocations: 0.9687 MB / 0.8822 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.236, allocations: 288.9 kB / 0.8825 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.248, allocations: 5.893 MB / 0.8883 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.248, allocations: 28.62 kB / 0.8883 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.248, allocations: 10.47 kB / 0.8883 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/1.248, allocations: 18.12 kB / 0.8883 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.267, allocations: 9.891 MB / 0.898 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.267, allocations: 0.6094 kB / 0.898 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00373/1.271, allocations: 0.75 MB / 0.8987 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/1.273, allocations: 0.5296 MB / 0.8992 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/1.273, allocations: 81.2 kB / 0.8993 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008016/1.281, allocations: 7.555 MB / 0.9067 GB, free: 196.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.281, allocations: 0.7969 kB / 0.9067 GB, free: 196.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/1.302, allocations: 8.399 MB / 0.9149 GB, free: 194 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.304, allocations: 0.8386 MB / 0.9157 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000525/1.305, allocations: 63.97 kB / 0.9158 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/1.308, allocations: 394.1 kB / 0.9162 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005802/1.309, allocations: 194.2 kB / 0.9163 GB, free: 193.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/1.309, allocations: 104.4 kB / 0.9164 GB, free: 193.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003018/1.312, allocations: 1.833 MB / 0.9182 GB, free: 192.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 3e-07/1.312, allocations: 0 / 0.9182 GB, free: 192.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004271/1.316, allocations: 1.105 MB / 0.9193 GB, free: 192.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,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.0216/1.338, allocations: 9.883 MB / 0.929 GB, free: 188.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.356, allocations: 8.59 MB / 0.9373 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.356, allocations: 4.688 kB / 0.9373 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005225/1.361, allocations: 2.958 MB / 0.9402 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.365, allocations: 0.7306 MB / 0.941 GB, free: 181.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04717/1.412, allocations: 34.37 MB / 0.9745 GB, free: 145.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.414, allocations: 2.555 MB / 0.977 GB, free: 142.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003809/1.417, allocations: 1.127 MB / 0.9781 GB, free: 141.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.419, allocations: 1.511 MB / 0.9796 GB, free: 140.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/1.419, allocations: 4 kB / 0.9796 GB, free: 140.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/1.534, allocations: 74.2 MB / 1.052 GB, free: 66.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.59, allocations: 11.97 kB / 1.052 GB, free: 66.55 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements_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_SimpleRoomThreeElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)