Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 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.001745/0.001745, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.2 MB / 422.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002489/0.00249, allocations: 64.06 kB / 0.5019 GB, free: 8.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1672, allocations: 80.21 MB / 0.5802 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3896/0.5568, allocations: 156.7 MB / 0.7332 GB, free: 264 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02462/0.5815, allocations: 21.74 MB / 0.7545 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.5836, allocations: 54.97 kB / 0.7545 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.5851, allocations: 1.162 MB / 0.7556 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.5864, allocations: 0.8556 MB / 0.7565 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.5874, allocations: 449 kB / 0.7569 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.5885, allocations: 1.256 MB / 0.7581 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007275/0.5893, allocations: 0.6802 MB / 0.7588 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.5898, allocations: 0.5491 MB / 0.7593 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.5908, allocations: 0.9177 MB / 0.7602 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.5909, allocations: 64 kB / 0.7603 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.5911, allocations: 108 kB / 0.7604 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.5914, allocations: 324.7 kB / 0.7607 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.5918, allocations: 492.8 kB / 0.7612 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.593, allocations: 1.179 MB / 0.7623 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.593, allocations: 3.938 kB / 0.7623 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.216e-06/0.593, allocations: 4 kB / 0.7623 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.593, allocations: 0 / 0.7623 GB, free: 8.219 MB / 0.5762 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.002204/0.5952, allocations: 1.475 MB / 0.7638 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5953, allocations: 12.03 kB / 0.7638 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.5954, allocations: 90.64 kB / 0.7639 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.5956, allocations: 135.2 kB / 0.764 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.5963, allocations: 0.6508 MB / 0.7646 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5964, allocations: 66.69 kB / 0.7647 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.5965, allocations: 55.84 kB / 0.7648 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.5974, allocations: 0.5223 MB / 0.7653 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5974, allocations: 0 / 0.7653 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.5975, allocations: 23.98 kB / 0.7653 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.5975, allocations: 12 kB / 0.7653 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.5983, allocations: 415.6 kB / 0.7657 GB, free: 4.648 MB / 0.5762 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.003599/0.6019, allocations: 2.8 MB / 0.7684 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.603, allocations: 459.4 kB / 0.7689 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.6035, allocations: 282.8 kB / 0.7691 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.6036, allocations: 12.59 kB / 0.7691 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.6041, allocations: 295 kB / 0.7694 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 3.477e-06/0.6042, allocations: 0 / 0.7694 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002947/0.6071, allocations: 1.241 MB / 0.7706 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.6072, allocations: 63.39 kB / 0.7707 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6089, allocations: 1.752 MB / 0.7724 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.6089, allocations: 33.7 kB / 0.7724 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.6093, allocations: 0.5179 MB / 0.773 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6095, allocations: 153.9 kB / 0.7731 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.6096, allocations: 94.25 kB / 0.7732 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6097, allocations: 326 kB / 0.7735 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.6102, allocations: 217 kB / 0.7737 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.6108, allocations: 332.8 kB / 0.774 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.6117, allocations: 0.5115 MB / 0.7745 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6117, allocations: 448 / 0.7745 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001647/0.6134, allocations: 0.8451 MB / 0.7753 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6134, allocations: 4 kB / 0.7754 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.6134, allocations: 4 kB / 0.7754 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/0.6139, allocations: 188.7 kB / 0.7755 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.6143, allocations: 95.81 kB / 0.7756 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.6175, allocations: 2.997 MB / 0.7786 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.618, allocations: 71.48 kB / 0.7786 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.618, allocations: 20 kB / 0.7786 GB, free: 6.801 MB / 0.5919 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.0004803/0.6185, allocations: 387.9 kB / 0.779 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6187, allocations: 118.5 kB / 0.7791 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.6189, allocations: 147.7 kB / 0.7793 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6189, allocations: 4 kB / 0.7793 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6189, allocations: 4 kB / 0.7793 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6189, allocations: 3.984 kB / 0.7793 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.6212, allocations: 1.559 MB / 0.7808 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6213, allocations: 3.984 kB / 0.7808 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.6215, allocations: 43.97 kB / 0.7808 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.622, allocations: 202.4 kB / 0.781 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.622, allocations: 15.98 kB / 0.7811 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/0.6261, allocations: 4.552 MB / 0.7855 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6261, allocations: 0 / 0.7855 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.628, allocations: 1.065 MB / 0.7865 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.6282, allocations: 211.6 kB / 0.7867 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.6283, allocations: 12 kB / 0.7868 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.6286, allocations: 31.97 kB / 0.7868 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6288, allocations: 51.92 kB / 0.7868 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6288, allocations: 15.98 kB / 0.7868 GB, free: 14 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001228/0.63, allocations: 1.281 MB / 0.7881 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.6301, allocations: 0 / 0.7881 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007168/0.6308, allocations: 203.7 kB / 0.7883 GB, free: 12.52 MB / 0.6075 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.002901/0.6337, allocations: 1.977 MB / 0.7902 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.6353, allocations: 0.7631 MB / 0.791 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6353, allocations: 0.6875 kB / 0.791 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.6361, allocations: 0.5597 MB / 0.7915 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.6371, allocations: 208 kB / 0.7917 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.6487, allocations: 9.138 MB / 0.8006 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.6494, allocations: 1.153 MB / 0.8018 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.6497, allocations: 84.78 kB / 0.8018 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.6502, allocations: 407.3 kB / 0.8022 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6502, allocations: 4 kB / 0.8022 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.6971, allocations: 20.84 MB / 0.8226 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.71, allocations: 16.89 kB / 0.8226 GB, free: 9.469 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)