Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.006624/0.006623, allocations: 97.23 kB / 15.73 MB, free: 6.055 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.001307/0.001308, allocations: 195 kB / 16.68 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.417/1.417, 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-master/package.mo): time 0.8533/0.8533, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.17 kB / 0.5857 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1443, allocations: 81.02 MB / 0.6648 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4989/0.6433, allocations: 156.7 MB / 0.8179 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.6698, allocations: 21.75 MB / 0.8391 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.672, allocations: 54.97 kB / 0.8392 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.6736, allocations: 1.155 MB / 0.8403 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.6752, allocations: 0.8535 MB / 0.8411 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.6764, allocations: 445.3 kB / 0.8416 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.678, allocations: 1.259 MB / 0.8428 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009319/0.6789, allocations: 0.68 MB / 0.8435 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/0.6797, allocations: 0.5507 MB / 0.844 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.6807, allocations: 0.9208 MB / 0.8449 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.6808, allocations: 65.06 kB / 0.845 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.6811, allocations: 112.4 kB / 0.8451 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.6814, allocations: 308.2 kB / 0.8454 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.6818, allocations: 499.4 kB / 0.8458 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.6831, allocations: 1.207 MB / 0.847 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6831, allocations: 0 / 0.847 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6831, allocations: 0 / 0.847 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.6832, allocations: 0 / 0.847 GB, free: 1.516 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002503/0.6857, allocations: 1.524 MB / 0.8485 GB, free: 320 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6857, allocations: 11.7 kB / 0.8485 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.6859, allocations: 81.78 kB / 0.8486 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.6861, allocations: 143.1 kB / 0.8487 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.6871, allocations: 0.672 MB / 0.8494 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6872, allocations: 72 kB / 0.8495 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.6873, allocations: 51.27 kB / 0.8495 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.6883, allocations: 0.5187 MB / 0.85 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6883, allocations: 0 / 0.85 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.6883, allocations: 20.92 kB / 0.85 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.6884, allocations: 10.06 kB / 0.85 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.6892, allocations: 422.7 kB / 0.8504 GB, free: 14.98 MB / 0.6231 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.003911/0.6931, allocations: 2.802 MB / 0.8532 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6942, allocations: 452.9 kB / 0.8536 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.6947, allocations: 283.1 kB / 0.8539 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.6948, allocations: 6.828 kB / 0.8539 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.6954, allocations: 298.8 kB / 0.8542 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.6954, allocations: 0 / 0.8542 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.003118/0.6985, allocations: 1.245 MB / 0.8554 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.6986, allocations: 59.41 kB / 0.8554 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.7006, allocations: 1.752 MB / 0.8572 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.7007, allocations: 42.14 kB / 0.8572 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.7011, allocations: 0.5222 MB / 0.8577 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.7013, allocations: 154.8 kB / 0.8579 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.7015, allocations: 98.23 kB / 0.8579 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7016, allocations: 325.9 kB / 0.8583 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.7021, allocations: 221 kB / 0.8585 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.7027, allocations: 328.8 kB / 0.8588 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.7037, allocations: 0.515 MB / 0.8593 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7038, allocations: 4 kB / 0.8593 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001777/0.7055, allocations: 0.8481 MB / 0.8601 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7056, allocations: 4 kB / 0.8601 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7056, allocations: 4.125 kB / 0.8601 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.7061, allocations: 180.8 kB / 0.8603 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.7065, allocations: 95.8 kB / 0.8604 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.7104, allocations: 3.018 MB / 0.8633 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.7109, allocations: 75.66 kB / 0.8634 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.7109, allocations: 20 kB / 0.8634 GB, free: 2.359 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005381/0.7115, allocations: 383.3 kB / 0.8638 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.7116, allocations: 123.2 kB / 0.8639 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.7118, allocations: 135.7 kB / 0.864 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7119, allocations: 4 kB / 0.864 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7119, allocations: 8 kB / 0.8641 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.7119, allocations: 0 / 0.8641 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.7145, allocations: 1.571 MB / 0.8656 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7145, allocations: 4 kB / 0.8656 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.7147, allocations: 47.91 kB / 0.8656 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/0.7153, allocations: 193.6 kB / 0.8658 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.7153, allocations: 8 kB / 0.8658 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.7203, allocations: 4.558 MB / 0.8703 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7203, allocations: 0 / 0.8703 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.7224, allocations: 1.071 MB / 0.8713 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.7227, allocations: 224.2 kB / 0.8715 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.7228, allocations: 15.98 kB / 0.8716 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.7231, allocations: 31.97 kB / 0.8716 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7233, allocations: 51.92 kB / 0.8716 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.7233, allocations: 12 kB / 0.8716 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001538/0.7248, allocations: 1.281 MB / 0.8729 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7249, allocations: 3.938 kB / 0.8729 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007687/0.7256, allocations: 203.7 kB / 0.8731 GB, free: 8.055 MB / 0.6387 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.00394/0.7296, allocations: 1.989 MB / 0.875 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.7313, allocations: 0.7196 MB / 0.8757 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7313, allocations: 0 / 0.8757 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/0.7323, allocations: 0.5558 MB / 0.8763 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7334, allocations: 202.5 kB / 0.8765 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.7465, allocations: 8.593 MB / 0.8849 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.7474, allocations: 1.153 MB / 0.886 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.7477, allocations: 96.77 kB / 0.8861 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.7482, allocations: 403.3 kB / 0.8865 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.7482, allocations: 0 / 0.8865 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0576/0.8058, allocations: 21.24 MB / 0.9072 GB, free: 5.266 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.49, allocations: 8.016 kB / 0.9072 GB, free: 5.258 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)