Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001477/0.001477, allocations: 201.5 kB / 16.14 MB, free: 6.797 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.45 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1869, allocations: 80.2 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.544/0.731, allocations: 154.4 MB / 0.7303 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02883/0.7598, allocations: 21.6 MB / 0.7514 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/0.763, allocations: 49.28 kB / 0.7514 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.7649, allocations: 1.123 MB / 0.7525 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.7673, allocations: 0.816 MB / 0.7533 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.7691, allocations: 381.8 kB / 0.7537 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.771, allocations: 1.351 MB / 0.755 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.7719, allocations: 0.6109 MB / 0.7556 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006862/0.7726, allocations: 0.4904 MB / 0.7561 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.7737, allocations: 0.9098 MB / 0.757 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.7738, allocations: 39.94 kB / 0.757 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.7741, allocations: 83.97 kB / 0.7571 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.7743, allocations: 300.7 kB / 0.7574 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.7747, allocations: 464.8 kB / 0.7578 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009357/0.7757, allocations: 1.152 MB / 0.759 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7757, allocations: 0 / 0.759 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7757, allocations: 3.938 kB / 0.759 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.7757, allocations: 0 / 0.759 GB, free: 11.27 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.002188/0.7779, allocations: 1.482 MB / 0.7604 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.778, allocations: 8.031 kB / 0.7604 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.701e-05/0.7781, allocations: 82.72 kB / 0.7605 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.7783, allocations: 139.2 kB / 0.7606 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.7791, allocations: 0.6507 MB / 0.7613 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.7792, allocations: 70.69 kB / 0.7613 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.7793, allocations: 51.91 kB / 0.7614 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/0.7802, allocations: 0.5223 MB / 0.7619 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.7802, allocations: 0 / 0.7619 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.7803, allocations: 20 kB / 0.7619 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.7803, allocations: 12 kB / 0.7619 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.7811, allocations: 419.6 kB / 0.7623 GB, free: 7.695 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.003367/0.7845, allocations: 2.728 MB / 0.765 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.7855, allocations: 455.4 kB / 0.7654 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.7861, allocations: 302.9 kB / 0.7657 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.7861, allocations: 5.031 kB / 0.7657 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005438/0.7867, allocations: 287 kB / 0.766 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.7867, allocations: 0 / 0.766 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002515/0.7892, allocations: 1.142 MB / 0.7671 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.7893, allocations: 71.33 kB / 0.7672 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.7911, allocations: 1.756 MB / 0.7689 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.7911, allocations: 37.7 kB / 0.7689 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.7916, allocations: 0.5288 MB / 0.7694 GB, free: 76 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.7917, allocations: 142.1 kB / 0.7696 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.7919, allocations: 102.2 kB / 0.7697 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.792, allocations: 333.9 kB / 0.77 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.7925, allocations: 213 kB / 0.7702 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.793, allocations: 331.2 kB / 0.7705 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.7939, allocations: 0.5107 MB / 0.771 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7939, allocations: 4 kB / 0.771 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001523/0.7954, allocations: 0.8081 MB / 0.7718 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7954, allocations: 8 kB / 0.7718 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7955, allocations: 4 kB / 0.7718 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/0.7959, allocations: 147.8 kB / 0.772 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.7963, allocations: 107.8 kB / 0.7721 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.799, allocations: 2.389 MB / 0.7744 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.7994, allocations: 79.39 kB / 0.7745 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.7995, allocations: 20 kB / 0.7745 GB, free: 10.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000467/0.7999, allocations: 388.1 kB / 0.7749 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.8001, allocations: 114.5 kB / 0.775 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.8003, allocations: 135.7 kB / 0.7751 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.8003, allocations: 11.92 kB / 0.7751 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.8003, allocations: 4 kB / 0.7751 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8003, allocations: 3.984 kB / 0.7751 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.8026, allocations: 1.494 MB / 0.7766 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8026, allocations: 3.938 kB / 0.7766 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.8028, allocations: 47.89 kB / 0.7766 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.8032, allocations: 157.6 kB / 0.7768 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.8033, allocations: 15.98 kB / 0.7768 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.8067, allocations: 3.692 MB / 0.7804 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8067, allocations: 0 / 0.7804 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.8083, allocations: 0.9909 MB / 0.7814 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.8086, allocations: 211.6 kB / 0.7816 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.8087, allocations: 11.94 kB / 0.7816 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.809, allocations: 43.89 kB / 0.7816 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.8092, allocations: 47.92 kB / 0.7817 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.8092, allocations: 12 kB / 0.7817 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001342/0.8106, allocations: 1.293 MB / 0.7829 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8106, allocations: 0 / 0.7829 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007689/0.8113, allocations: 199.7 kB / 0.7831 GB, free: 1.422 MB / 0.5919 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,12,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.003085/0.8144, allocations: 1.921 MB / 0.785 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.8158, allocations: 0.6655 MB / 0.7857 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8158, allocations: 0 / 0.7857 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.8166, allocations: 0.5245 MB / 0.7862 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.8176, allocations: 179.1 kB / 0.7863 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.8308, allocations: 9.344 MB / 0.7955 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.8316, allocations: 1.149 MB / 0.7966 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003644/0.8319, allocations: 92.77 kB / 0.7967 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.8324, allocations: 403.3 kB / 0.7971 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.8324, allocations: 0 / 0.7971 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.8702, allocations: 19.72 MB / 0.8163 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.8704, allocations: 263.1 kB / 0.8166 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/3.053, allocations: 0 / 0.8166 GB, free: 15.13 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)