Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase4,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_dev_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.001084/0.001084, allocations: 108 kB / 15.6 MB, free: 132 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.001131/0.001131, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9146/0.9146, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.5 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3571/0.4874, allocations: 156.7 MB / 0.7375 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.5103, allocations: 21.73 MB / 0.7587 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.5116, allocations: 54.97 kB / 0.7588 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.5131, allocations: 1.165 MB / 0.7599 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.5142, allocations: 0.8563 MB / 0.7608 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000893/0.5151, allocations: 447.8 kB / 0.7612 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.5162, allocations: 1.247 MB / 0.7624 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007025/0.5169, allocations: 0.6942 MB / 0.7631 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00053/0.5174, allocations: 0.5413 MB / 0.7636 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009133/0.5184, allocations: 0.9177 MB / 0.7645 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.5185, allocations: 64 kB / 0.7646 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.5187, allocations: 112 kB / 0.7647 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.519, allocations: 320.7 kB / 0.765 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.5194, allocations: 492.8 kB / 0.7654 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009492/0.5203, allocations: 1.179 MB / 0.7666 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5203, allocations: 0 / 0.7666 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5204, allocations: 0 / 0.7666 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.5204, allocations: 0 / 0.7666 GB, free: 2.246 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.002091/0.5225, allocations: 1.482 MB / 0.768 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.5225, allocations: 12.03 kB / 0.7681 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.5226, allocations: 82.72 kB / 0.7681 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.5228, allocations: 139.2 kB / 0.7683 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.5236, allocations: 0.6548 MB / 0.7689 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5237, allocations: 70.69 kB / 0.769 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.5238, allocations: 48 kB / 0.769 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008811/0.5247, allocations: 0.5145 MB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5247, allocations: 11.88 kB / 0.7695 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.5248, allocations: 20 kB / 0.7696 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.5248, allocations: 12 kB / 0.7696 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.5256, allocations: 423.6 kB / 0.77 GB, free: 14.66 MB / 0.5919 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.003306/0.529, allocations: 2.792 MB / 0.7727 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/0.53, allocations: 456.4 kB / 0.7731 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.5305, allocations: 285.8 kB / 0.7734 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.5306, allocations: 8.594 kB / 0.7734 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.5311, allocations: 298.1 kB / 0.7737 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 3.346e-06/0.5311, allocations: 0 / 0.7737 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00284/0.534, allocations: 1.247 MB / 0.7749 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.534, allocations: 59.39 kB / 0.775 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.5357, allocations: 1.748 MB / 0.7767 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.5357, allocations: 37.7 kB / 0.7767 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.5361, allocations: 0.518 MB / 0.7772 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.5363, allocations: 153.8 kB / 0.7774 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.5364, allocations: 98.25 kB / 0.7775 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5365, allocations: 326 kB / 0.7778 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.537, allocations: 217 kB / 0.778 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.5376, allocations: 328.8 kB / 0.7783 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.5385, allocations: 0.5102 MB / 0.7788 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5385, allocations: 0 / 0.7788 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001676/0.5402, allocations: 0.8454 MB / 0.7796 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5402, allocations: 7.938 kB / 0.7796 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5403, allocations: 4 kB / 0.7796 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.5408, allocations: 187 kB / 0.7798 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.5412, allocations: 99.81 kB / 0.7799 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.5447, allocations: 2.991 MB / 0.7828 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.5451, allocations: 79.33 kB / 0.7829 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.5451, allocations: 24.06 kB / 0.7829 GB, free: 0.8242 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.0004253/0.5456, allocations: 383.3 kB / 0.7833 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5457, allocations: 114.6 kB / 0.7834 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.5459, allocations: 139.7 kB / 0.7835 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5459, allocations: 4 kB / 0.7835 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5459, allocations: 7.984 kB / 0.7835 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5459, allocations: 0 / 0.7835 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.5484, allocations: 1.573 MB / 0.7851 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5484, allocations: 0 / 0.7851 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.5486, allocations: 47.91 kB / 0.7851 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.5491, allocations: 190.9 kB / 0.7853 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.5492, allocations: 19.98 kB / 0.7853 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004344/0.5535, allocations: 4.548 MB / 0.7898 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5535, allocations: 0 / 0.7898 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.5554, allocations: 1.072 MB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5557, allocations: 211.6 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.5558, allocations: 12 kB / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.5561, allocations: 35.97 kB / 0.7911 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5562, allocations: 51.92 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.5563, allocations: 15.98 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001328/0.5576, allocations: 1.281 MB / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5576, allocations: 0 / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006907/0.5583, allocations: 199.7 kB / 0.7926 GB, free: 6.539 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.003021/0.5614, allocations: 1.986 MB / 0.7945 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.5629, allocations: 0.762 MB / 0.7952 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.563, allocations: 4 kB / 0.7952 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008864/0.5639, allocations: 0.5638 MB / 0.7958 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.5648, allocations: 195.2 kB / 0.796 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.5766, allocations: 9.13 MB / 0.8049 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.5774, allocations: 1.153 MB / 0.806 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.5776, allocations: 88.8 kB / 0.8061 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.5781, allocations: 407.3 kB / 0.8065 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.5781, allocations: 0 / 0.8065 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/0.6233, allocations: 20.86 MB / 0.8269 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/10.16, allocations: 10.89 kB / 0.8269 GB, free: 3.41 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_TestCase4.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)