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.001475/0.001475, 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.001254/0.001254, allocations: 198.3 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9601/0.9601, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.47 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.391/0.5382, allocations: 156.7 MB / 0.7375 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.5631, allocations: 21.74 MB / 0.7587 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.5651, allocations: 48.78 kB / 0.7588 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.5667, allocations: 1.168 MB / 0.7599 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.5683, allocations: 0.8485 MB / 0.7607 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.5695, allocations: 455.2 kB / 0.7612 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.5708, allocations: 1.25 MB / 0.7624 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/0.5717, allocations: 0.6832 MB / 0.7631 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007339/0.5725, allocations: 0.5452 MB / 0.7636 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.5736, allocations: 0.9216 MB / 0.7645 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.5738, allocations: 64 kB / 0.7646 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.5741, allocations: 115.9 kB / 0.7647 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.5744, allocations: 316.8 kB / 0.765 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.5749, allocations: 496.8 kB / 0.7654 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.576, allocations: 1.179 MB / 0.7666 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5761, allocations: 0 / 0.7666 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5761, allocations: 0 / 0.7666 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.788e-05/0.5761, allocations: 0 / 0.7666 GB, free: 2.25 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.002325/0.5784, allocations: 1.471 MB / 0.768 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5785, allocations: 19.95 kB / 0.7681 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.5786, allocations: 78.72 kB / 0.7681 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.5788, allocations: 139.2 kB / 0.7683 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000829/0.5796, allocations: 0.6547 MB / 0.7689 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5798, allocations: 74.69 kB / 0.769 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.5799, allocations: 51.91 kB / 0.769 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.5808, allocations: 0.5184 MB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.5808, allocations: 3.938 kB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.5809, allocations: 19.98 kB / 0.7695 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5809, allocations: 15.98 kB / 0.7696 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008627/0.5817, allocations: 415.6 kB / 0.77 GB, free: 14.68 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.003404/0.5852, allocations: 2.803 MB / 0.7727 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5862, allocations: 452.8 kB / 0.7731 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.5867, allocations: 289.3 kB / 0.7734 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.5868, allocations: 8.594 kB / 0.7734 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.5873, allocations: 298 kB / 0.7737 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.073e-06/0.5873, allocations: 0 / 0.7737 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00287/0.5902, allocations: 1.228 MB / 0.7749 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.5903, allocations: 63.39 kB / 0.775 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.592, allocations: 1.755 MB / 0.7767 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.592, allocations: 37.7 kB / 0.7767 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.5924, allocations: 0.5218 MB / 0.7772 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.5926, allocations: 145.9 kB / 0.7774 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.5927, allocations: 98.19 kB / 0.7774 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.5928, allocations: 326 kB / 0.7778 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.5933, allocations: 225 kB / 0.778 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.5939, allocations: 320.9 kB / 0.7783 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.5948, allocations: 0.5141 MB / 0.7788 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5948, allocations: 0 / 0.7788 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001603/0.5964, allocations: 0.8404 MB / 0.7796 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5964, allocations: 4.156 kB / 0.7796 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5964, allocations: 8 kB / 0.7796 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.597, allocations: 188.7 kB / 0.7798 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.5973, allocations: 91.88 kB / 0.7799 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/0.6006, allocations: 3.004 MB / 0.7828 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.6011, allocations: 75.55 kB / 0.7829 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.6011, allocations: 20 kB / 0.7829 GB, free: 0.8359 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.0004862/0.6016, allocations: 383.3 kB / 0.7833 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6018, allocations: 114.5 kB / 0.7834 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.602, allocations: 139.7 kB / 0.7835 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.602, allocations: 12 kB / 0.7835 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.6021, allocations: 0 / 0.7835 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6021, allocations: 7.922 kB / 0.7835 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.6045, allocations: 1.558 MB / 0.7851 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6045, allocations: 3.984 kB / 0.7851 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.6048, allocations: 47.91 kB / 0.7851 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.6053, allocations: 190.6 kB / 0.7853 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.6053, allocations: 15.92 kB / 0.7853 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004272/0.6096, allocations: 4.578 MB / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6096, allocations: 3.938 kB / 0.7898 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.6114, allocations: 1.061 MB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.6117, allocations: 211.6 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6118, allocations: 8 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.6121, allocations: 31.97 kB / 0.7911 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6123, allocations: 51.92 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.6123, allocations: 19.98 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0013/0.6136, allocations: 1.277 MB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6136, allocations: 4 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007319/0.6144, allocations: 203.7 kB / 0.7926 GB, free: 6.543 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.002992/0.6174, allocations: 1.974 MB / 0.7945 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.6189, allocations: 0.7659 MB / 0.7952 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.619, allocations: 0 / 0.7952 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.6198, allocations: 0.5483 MB / 0.7958 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6209, allocations: 212.5 kB / 0.796 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.633, allocations: 9.126 MB / 0.8049 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.6337, allocations: 1.157 MB / 0.806 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.634, allocations: 84.78 kB / 0.8061 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.6344, allocations: 407.3 kB / 0.8065 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.6345, allocations: 0 / 0.8065 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/0.6819, allocations: 20.86 MB / 0.8269 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.268/9.95, allocations: 12 kB / 0.8269 GB, free: 3.41 MB / 0.6387 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)