Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.VDI6007.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.008408/0.008409, allocations: 100 kB / 15.73 MB, free: 6.062 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.002418/0.002418, allocations: 192.8 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9076/0.9076, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.44 kB / 0.5809 GB, free: 24.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1582, allocations: 80.22 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.5901/0.7484, allocations: 157.5 MB / 0.813 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.7794, allocations: 22.05 MB / 0.8345 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.7824, allocations: 61 kB / 0.8346 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.7851, allocations: 2.157 MB / 0.8367 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.7877, allocations: 1.461 MB / 0.8381 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.7894, allocations: 0.6124 MB / 0.8387 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.792, allocations: 1.942 MB / 0.8406 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.7936, allocations: 1.122 MB / 0.8417 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.7949, allocations: 0.9136 MB / 0.8426 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.7969, allocations: 1.592 MB / 0.8442 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.7972, allocations: 95.28 kB / 0.8442 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.7976, allocations: 141.2 kB / 0.8444 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004823/0.7981, allocations: 0.5541 MB / 0.8449 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008071/0.7989, allocations: 0.8105 MB / 0.8457 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.8011, allocations: 1.942 MB / 0.8476 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.8011, allocations: 3.984 kB / 0.8476 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8011, allocations: 0 / 0.8476 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.679e-05/0.8012, allocations: 0 / 0.8476 GB, free: 4.367 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004696/0.8059, allocations: 2.438 MB / 0.85 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8059, allocations: 9.781 kB / 0.85 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.8061, allocations: 120 kB / 0.8501 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.8065, allocations: 249.2 kB / 0.8504 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.808, allocations: 1.058 MB / 0.8514 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.8082, allocations: 87 kB / 0.8515 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.8084, allocations: 75.98 kB / 0.8515 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.8099, allocations: 0.7845 MB / 0.8523 GB, free: 252 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.81, allocations: 3.938 kB / 0.8523 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.81, allocations: 27.98 kB / 0.8523 GB, free: 220 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.8101, allocations: 19.94 kB / 0.8524 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.8114, allocations: 0.6297 MB / 0.853 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.8171, allocations: 3.726 MB / 0.8566 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.8188, allocations: 0.737 MB / 0.8573 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.8197, allocations: 436.2 kB / 0.8577 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.8198, allocations: 8.562 kB / 0.8578 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.8207, allocations: 456 kB / 0.8582 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/0.8207, allocations: 0 / 0.8582 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.004578/0.8253, allocations: 1.835 MB / 0.86 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.8253, allocations: 60.06 kB / 0.86 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.8293, allocations: 3.366 MB / 0.8633 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8294, allocations: 41.7 kB / 0.8634 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000882/0.8303, allocations: 0.9335 MB / 0.8643 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.8306, allocations: 253.9 kB / 0.8645 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.8308, allocations: 138.7 kB / 0.8647 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.831, allocations: 337.9 kB / 0.865 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.8317, allocations: 321.8 kB / 0.8653 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.8325, allocations: 464.1 kB / 0.8657 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.8339, allocations: 0.7488 MB / 0.8665 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.834, allocations: 0 / 0.8665 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002567/0.8365, allocations: 1.266 MB / 0.8677 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8366, allocations: 4 kB / 0.8677 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8366, allocations: 4 kB / 0.8677 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/0.8373, allocations: 257.6 kB / 0.8679 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.8379, allocations: 139.8 kB / 0.8681 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.8433, allocations: 4.759 MB / 0.8727 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.8442, allocations: 103.4 kB / 0.8728 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.8443, allocations: 28 kB / 0.8729 GB, free: 10.42 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009398/0.8452, allocations: 0.603 MB / 0.8734 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.8455, allocations: 230.5 kB / 0.8737 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.8459, allocations: 261.1 kB / 0.8739 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.8459, allocations: 7.938 kB / 0.8739 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.846, allocations: 4 kB / 0.8739 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.846, allocations: 7.984 kB / 0.8739 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.85, allocations: 2.409 MB / 0.8763 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.85, allocations: 0 / 0.8763 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.8504, allocations: 75.89 kB / 0.8764 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006578/0.851, allocations: 252.1 kB / 0.8766 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.8511, allocations: 19.92 kB / 0.8766 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/0.8564, allocations: 4.752 MB / 0.8813 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8564, allocations: 0 / 0.8813 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.8596, allocations: 1.651 MB / 0.8829 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/0.8603, allocations: 335.4 kB / 0.8832 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.8604, allocations: 19.98 kB / 0.8832 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.8609, allocations: 35.97 kB / 0.8832 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.8611, allocations: 72.55 kB / 0.8833 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.8612, allocations: 31.98 kB / 0.8833 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002993/0.8642, allocations: 2.46 MB / 0.8857 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.8642, allocations: 0 / 0.8857 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001089/0.8653, allocations: 303.6 kB / 0.886 GB, free: 12.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005029/0.8703, allocations: 2.589 MB / 0.8886 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.8726, allocations: 1.098 MB / 0.8896 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8726, allocations: 0 / 0.8896 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.8738, allocations: 0.7143 MB / 0.8903 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.8754, allocations: 283.2 kB / 0.8906 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/0.8972, allocations: 14.17 MB / 0.9044 GB, free: 9.531 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.8986, allocations: 1.552 MB / 0.906 GB, free: 7.949 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005565/0.8992, allocations: 162.6 kB / 0.9061 GB, free: 7.785 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009012/0.9001, allocations: 0.7491 MB / 0.9068 GB, free: 7.039 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/0.9001, allocations: 0 / 0.9068 GB, free: 7.039 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.021, allocations: 34.18 MB / 0.9402 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.1, allocations: 9.484 kB / 0.9402 GB, free: 5.176 MB / 0.7012 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)