Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Validation.RoomSteadyState,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",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.006022/0.006022, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001438/0.001438, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.88 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1639, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5785/0.7425, allocations: 160.2 MB / 0.8156 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03498/0.7775, allocations: 26.61 MB / 0.8416 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.7814, allocations: 74.03 kB / 0.8417 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.7838, allocations: 0.6194 MB / 0.8423 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005263/0.789, allocations: 1.454 MB / 0.8437 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.7938, allocations: 1.638 MB / 0.8453 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006384/0.8002, allocations: 4.496 MB / 0.8497 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006587/0.8068, allocations: 3.939 MB / 0.8535 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.8108, allocations: 1.863 MB / 0.8553 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.8141, allocations: 2.13 MB / 0.8574 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007652/0.8149, allocations: 420 kB / 0.8578 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.8179, allocations: 1.42 MB / 0.8592 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.8188, allocations: 1.04 MB / 0.8602 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002174/0.821, allocations: 1.831 MB / 0.862 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007856/0.8289, allocations: 5.51 MB / 0.8674 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8289, allocations: 0 / 0.8674 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8289, allocations: 0 / 0.8674 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001194/0.8291, allocations: 0 / 0.8674 GB, free: 0.8047 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.009473/0.8385, allocations: 4.19 MB / 0.8715 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.8386, allocations: 8.031 kB / 0.8715 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000579/0.8392, allocations: 429.6 kB / 0.8719 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.8528, allocations: 2.755 MB / 0.8746 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004966/0.8578, allocations: 2.118 MB / 0.8767 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.858, allocations: 222 kB / 0.8769 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007181/0.8587, allocations: 296 kB / 0.8772 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.8716, allocations: 4.958 MB / 0.882 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/0.8717, allocations: 0 / 0.882 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.872, allocations: 127.9 kB / 0.8821 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/0.8721, allocations: 75.94 kB / 0.8822 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.8867, allocations: 6.099 MB / 0.8882 GB, free: 11.27 MB / 0.6544 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.02797/0.9147, allocations: 15.36 MB / 0.9032 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007255/0.922, allocations: 3.659 MB / 0.9067 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/0.9259, allocations: 2.007 MB / 0.9087 GB, free: 5.566 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.9263, allocations: 236.3 kB / 0.9089 GB, free: 5.301 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004399/0.9307, allocations: 2.114 MB / 0.911 GB, free: 3.164 MB / 0.67 GB Notification: Performance of pre-optimization done (n=231): time 1.008e-05/0.9307, allocations: 4 kB / 0.911 GB, free: 3.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=231): time 0.01406/0.9448, allocations: 6.112 MB / 0.9169 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.945, allocations: 287 kB / 0.9172 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003963/0.949, allocations: 2.081 MB / 0.9193 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003489/0.9493, allocations: 73.7 kB / 0.9193 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.9507, allocations: 1.225 MB / 0.9205 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.9521, allocations: 0.8134 MB / 0.9213 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.954, allocations: 451.9 kB / 0.9217 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9542, allocations: 309 kB / 0.922 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/0.9585, allocations: 1.671 MB / 0.9237 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/0.9628, allocations: 2.062 MB / 0.9257 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007898/0.9707, allocations: 3.699 MB / 0.9293 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.9707, allocations: 4 kB / 0.9293 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01125/0.982, allocations: 4.31 MB / 0.9335 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.9821, allocations: 8 kB / 0.9335 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.9821, allocations: 8 kB / 0.9335 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008499/0.983, allocations: 232.2 kB / 0.9337 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.9867, allocations: 0.702 MB / 0.9344 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/0.9912, allocations: 3.385 MB / 0.9377 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/0.995, allocations: 0.5503 MB / 0.9383 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006165/0.9957, allocations: 95.94 kB / 0.9384 GB, free: 6.535 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (258): * Single equations (assignments): 257 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002265/0.998, allocations: 0.8095 MB / 0.9392 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/0.999, allocations: 254.4 kB / 0.9394 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/1.015, allocations: 4.507 MB / 0.9438 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/1.015, allocations: 23.94 kB / 0.9438 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.015, allocations: 4 kB / 0.9438 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/1.015, allocations: 11.95 kB / 0.9438 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/1.042, allocations: 7.742 MB / 0.9514 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-05/1.042, allocations: 8 kB / 0.9514 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004361/1.047, allocations: 0.5501 MB / 0.9519 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/1.048, allocations: 278.3 kB / 0.9522 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/1.048, allocations: 75.89 kB / 0.9523 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007777/1.056, allocations: 5.258 MB / 0.9574 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/1.056, allocations: 20 kB / 0.9574 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/1.074, allocations: 5.681 MB / 0.963 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.075, allocations: 0.6786 MB / 0.9636 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009038/1.076, allocations: 71.88 kB / 0.9637 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/1.079, allocations: 273.4 kB / 0.964 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/1.08, allocations: 189.5 kB / 0.9642 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.08, allocations: 95.89 kB / 0.9643 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003102/1.083, allocations: 1.499 MB / 0.9657 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.083, allocations: 0 / 0.9657 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003246/1.086, allocations: 0.8847 MB / 0.9666 GB, free: 8.895 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (219): * Single equations (assignments): 212 * 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 {(2,16,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.01448/1.101, allocations: 7.166 MB / 0.9736 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009073/1.11, allocations: 3.739 MB / 0.9772 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.11, allocations: 0 / 0.9772 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004338/1.114, allocations: 1.996 MB / 0.9792 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/1.119, allocations: 0.6434 MB / 0.9798 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05515/1.174, allocations: 26.1 MB / 1.005 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/1.177, allocations: 2.231 MB / 1.007 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00373/1.181, allocations: 0.9579 MB / 1.008 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/1.183, allocations: 1.222 MB / 1.01 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/1.183, allocations: 0 / 1.01 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5173/1.7, allocations: 63.34 MB / 1.071 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.46, allocations: 15.3 kB / 1.071 GB, free: 308.1 MB / 0.8106 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)