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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 105.7 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.847/0.847, allocations: 133.9 MB / 442.8 MB, free: 11.37 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 70.33 kB / 0.6134 GB, free: 8.797 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1779, allocations: 85.85 MB / 0.6972 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5174/0.6953, allocations: 160.2 MB / 0.8537 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.7249, allocations: 21.86 MB / 0.8751 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.7265, allocations: 71.44 kB / 0.8751 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.7282, allocations: 1.173 MB / 0.8763 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.7298, allocations: 0.9146 MB / 0.8772 GB, free: 96 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.7307, allocations: 378.9 kB / 0.8775 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.7321, allocations: 1.274 MB / 0.8788 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.7329, allocations: 0.566 MB / 0.8793 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.7336, allocations: 0.5763 MB / 0.8799 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.7348, allocations: 1.007 MB / 0.8809 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.7349, allocations: 64 kB / 0.8809 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.7351, allocations: 116 kB / 0.8811 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.7355, allocations: 328.6 kB / 0.8814 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.7359, allocations: 492.8 kB / 0.8818 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.7373, allocations: 1.217 MB / 0.883 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7373, allocations: 4 kB / 0.883 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7373, allocations: 0 / 0.883 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.7373, allocations: 0 / 0.883 GB, free: 10.08 MB / 0.6544 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.002551/0.7399, allocations: 1.54 MB / 0.8845 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7399, allocations: 9.109 kB / 0.8845 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.74, allocations: 82.7 kB / 0.8846 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.7402, allocations: 140 kB / 0.8848 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/0.7412, allocations: 0.695 MB / 0.8854 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.7413, allocations: 70.69 kB / 0.8855 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.7414, allocations: 48 kB / 0.8855 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.7425, allocations: 0.5223 MB / 0.8861 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.7425, allocations: 3.953 kB / 0.8861 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.7425, allocations: 16 kB / 0.8861 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.7426, allocations: 12 kB / 0.8861 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.7435, allocations: 415.7 kB / 0.8865 GB, free: 6.402 MB / 0.6544 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.004105/0.7476, allocations: 2.796 MB / 0.8892 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.7488, allocations: 423.4 kB / 0.8896 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.7494, allocations: 269.3 kB / 0.8899 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.7494, allocations: 16.25 kB / 0.8899 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.7501, allocations: 298.7 kB / 0.8902 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.7501, allocations: 448 / 0.8902 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.003283/0.7533, allocations: 1.23 MB / 0.8914 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.7534, allocations: 59.41 kB / 0.8914 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.7556, allocations: 1.776 MB / 0.8932 GB, free: 15.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.7557, allocations: 41.64 kB / 0.8932 GB, free: 15.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.7562, allocations: 0.5223 MB / 0.8937 GB, free: 14.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.7564, allocations: 158.8 kB / 0.8939 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.7565, allocations: 94.25 kB / 0.894 GB, free: 14.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7567, allocations: 330 kB / 0.8943 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.7572, allocations: 213 kB / 0.8945 GB, free: 13.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.7579, allocations: 328.9 kB / 0.8948 GB, free: 13.51 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7589, allocations: 0.5104 MB / 0.8953 GB, free: 12.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.7589, allocations: 4 kB / 0.8953 GB, free: 12.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001839/0.7607, allocations: 0.8462 MB / 0.8961 GB, free: 12.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7608, allocations: 8 kB / 0.8961 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7608, allocations: 4 kB / 0.8961 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.7613, allocations: 187.4 kB / 0.8963 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.7617, allocations: 91.88 kB / 0.8964 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/0.7658, allocations: 3.016 MB / 0.8993 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.7662, allocations: 75.56 kB / 0.8994 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.7663, allocations: 24.06 kB / 0.8994 GB, free: 8.57 MB / 0.67 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.0005279/0.7668, allocations: 391.2 kB / 0.8998 GB, free: 8.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.7669, allocations: 123.2 kB / 0.8999 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.7672, allocations: 147.8 kB / 0.9001 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7672, allocations: 4 kB / 0.9001 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.7672, allocations: 4 kB / 0.9001 GB, free: 7.902 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.7672, allocations: 3.984 kB / 0.9001 GB, free: 7.898 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.77, allocations: 1.561 MB / 0.9016 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.77, allocations: 3.938 kB / 0.9016 GB, free: 6.277 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.7702, allocations: 39.97 kB / 0.9016 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.7708, allocations: 197.5 kB / 0.9018 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.7708, allocations: 12 kB / 0.9018 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/0.776, allocations: 4.557 MB / 0.9063 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.776, allocations: 4.062 kB / 0.9063 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.7781, allocations: 1.056 MB / 0.9073 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.7784, allocations: 220.4 kB / 0.9075 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.7785, allocations: 15.98 kB / 0.9076 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.7789, allocations: 31.91 kB / 0.9076 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.779, allocations: 59.86 kB / 0.9076 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.7791, allocations: 12 kB / 0.9077 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001617/0.7807, allocations: 1.301 MB / 0.9089 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7807, allocations: 0 / 0.9089 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008103/0.7815, allocations: 203.7 kB / 0.9091 GB, free: 14.26 MB / 0.6856 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.0042/0.7857, allocations: 1.983 MB / 0.9111 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.7874, allocations: 0.7014 MB / 0.9117 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7874, allocations: 0 / 0.9117 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7884, allocations: 0.5281 MB / 0.9123 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.7895, allocations: 212.3 kB / 0.9125 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.8034, allocations: 8.677 MB / 0.9209 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009442/0.8043, allocations: 1.157 MB / 0.9221 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003106/0.8046, allocations: 88.77 kB / 0.9221 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.8052, allocations: 415.3 kB / 0.9225 GB, free: 456 kB / 0.6856 GB Notification: Performance of SimCode: time 1.312e-06/0.8052, allocations: 0 / 0.9225 GB, free: 456 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/0.8668, allocations: 21.53 MB / 0.9436 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.59, allocations: 6.094 kB / 0.9436 GB, free: 11.14 MB / 0.7169 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.714617274992634] Failed to read output from testmodel.py, exit status != 0: 12.73832607800432 12.763256211 12.020749863 Calling exit ...