Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001559/0.001559, 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.001583/0.001583, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7527/0.7527, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 64.02 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 80.19 MB / 0.5802 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.357/0.4862, allocations: 157 MB / 0.7335 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.5098, allocations: 21.87 MB / 0.7549 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.5115, allocations: 50.81 kB / 0.7549 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.5132, allocations: 1.351 MB / 0.7562 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.5148, allocations: 0.9661 MB / 0.7572 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.5162, allocations: 0.5086 MB / 0.7577 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.5178, allocations: 1.434 MB / 0.7591 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5189, allocations: 0.7793 MB / 0.7598 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.5198, allocations: 0.6425 MB / 0.7605 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.5209, allocations: 1.105 MB / 0.7616 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.521, allocations: 72 kB / 0.7616 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.5213, allocations: 128 kB / 0.7617 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.5216, allocations: 368.5 kB / 0.7621 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.5221, allocations: 0.551 MB / 0.7626 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.5232, allocations: 1.351 MB / 0.764 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5232, allocations: 0 / 0.764 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5232, allocations: 0 / 0.764 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.5232, allocations: 0 / 0.764 GB, free: 6.512 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002353/0.5256, allocations: 1.685 MB / 0.7656 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5256, allocations: 8.031 kB / 0.7656 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.585e-05/0.5257, allocations: 90.7 kB / 0.7657 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.526, allocations: 163 kB / 0.7659 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.5268, allocations: 0.7434 MB / 0.7666 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5269, allocations: 78.69 kB / 0.7667 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.527, allocations: 51.98 kB / 0.7667 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.528, allocations: 0.573 MB / 0.7673 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.528, allocations: 7.906 kB / 0.7673 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.5281, allocations: 20 kB / 0.7673 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5281, allocations: 12 kB / 0.7673 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.529, allocations: 447.6 kB / 0.7677 GB, free: 2.523 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.003449/0.5324, allocations: 3.01 MB / 0.7707 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5335, allocations: 0.4893 MB / 0.7711 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.5341, allocations: 319 kB / 0.7714 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.5342, allocations: 16.36 kB / 0.7715 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006149/0.5348, allocations: 325 kB / 0.7718 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.235e-06/0.5348, allocations: 4 kB / 0.7718 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.00314/0.538, allocations: 1.34 MB / 0.7731 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.538, allocations: 63.72 kB / 0.7731 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.54, allocations: 2.12 MB / 0.7752 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.5401, allocations: 37.7 kB / 0.7753 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.5406, allocations: 0.6245 MB / 0.7759 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5407, allocations: 173.6 kB / 0.776 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.5409, allocations: 106.3 kB / 0.7761 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.541, allocations: 329.9 kB / 0.7764 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.5415, allocations: 233.2 kB / 0.7767 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.5421, allocations: 349.9 kB / 0.777 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.5431, allocations: 0.5537 MB / 0.7775 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5431, allocations: 0 / 0.7775 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001694/0.5448, allocations: 0.9023 MB / 0.7784 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5448, allocations: 8 kB / 0.7784 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5449, allocations: 4 kB / 0.7784 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/0.5454, allocations: 202.4 kB / 0.7786 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.5458, allocations: 107.9 kB / 0.7787 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.5492, allocations: 3.046 MB / 0.7817 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.5497, allocations: 79.55 kB / 0.7818 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.5497, allocations: 20 kB / 0.7818 GB, free: 3.488 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004784/0.5502, allocations: 440 kB / 0.7822 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5503, allocations: 138.2 kB / 0.7824 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.5506, allocations: 173.9 kB / 0.7825 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5506, allocations: 4 kB / 0.7825 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5506, allocations: 8 kB / 0.7825 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5506, allocations: 3.984 kB / 0.7825 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.5532, allocations: 1.734 MB / 0.7842 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5532, allocations: 0 / 0.7842 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.5535, allocations: 55.89 kB / 0.7843 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.5539, allocations: 194.6 kB / 0.7845 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.554, allocations: 15.98 kB / 0.7845 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.5583, allocations: 4.613 MB / 0.789 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5583, allocations: 0 / 0.789 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.5602, allocations: 1.158 MB / 0.7901 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.5605, allocations: 247.2 kB / 0.7903 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5606, allocations: 15.98 kB / 0.7904 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.561, allocations: 27.97 kB / 0.7904 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5611, allocations: 60.36 kB / 0.7904 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.5612, allocations: 19.98 kB / 0.7905 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001521/0.5627, allocations: 1.541 MB / 0.792 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5627, allocations: 0 / 0.792 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007318/0.5635, allocations: 227.6 kB / 0.7922 GB, free: 8.441 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.003238/0.5667, allocations: 2.096 MB / 0.7942 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.5684, allocations: 0.8022 MB / 0.795 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5684, allocations: 0 / 0.795 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.5694, allocations: 0.5821 MB / 0.7956 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5704, allocations: 229.1 kB / 0.7958 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.584, allocations: 10.58 MB / 0.8061 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.5848, allocations: 1.246 MB / 0.8074 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002927/0.5851, allocations: 101.1 kB / 0.8075 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.5856, allocations: 479.3 kB / 0.8079 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.5857, allocations: 0 / 0.8079 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/0.6335, allocations: 23.67 MB / 0.831 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/10.08, allocations: 12.06 kB / 0.831 GB, free: 0.7227 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)