Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.007437/0.007437, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001734/0.001734, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.91 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3946, allocations: 80.2 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.155/0.5496, allocations: 156.7 MB / 0.8122 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.5731, allocations: 21.73 MB / 0.8334 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.5752, allocations: 55.69 kB / 0.8335 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.577, allocations: 1.165 MB / 0.8346 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.5787, allocations: 0.8563 MB / 0.8355 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.58, allocations: 455.6 kB / 0.8359 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.5816, allocations: 1.259 MB / 0.8371 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/0.5825, allocations: 0.6765 MB / 0.8378 GB, free: 14.6 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.5833, allocations: 0.5608 MB / 0.8383 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5844, allocations: 0.9177 MB / 0.8392 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.5845, allocations: 64 kB / 0.8393 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.5848, allocations: 108 kB / 0.8394 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.5851, allocations: 324.6 kB / 0.8397 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.5855, allocations: 496.8 kB / 0.8402 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5869, allocations: 1.213 MB / 0.8414 GB, free: 10.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5869, allocations: 0 / 0.8414 GB, free: 10.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5869, allocations: 0 / 0.8414 GB, free: 10.93 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.587, allocations: 0 / 0.8414 GB, free: 10.93 MB / 0.67 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.002342/0.5893, allocations: 1.521 MB / 0.8429 GB, free: 9.352 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5894, allocations: 8.031 kB / 0.8429 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.453e-05/0.5895, allocations: 86.7 kB / 0.8429 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.5896, allocations: 143.6 kB / 0.8431 GB, free: 9.109 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.5905, allocations: 0.6636 MB / 0.8437 GB, free: 8.391 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.5906, allocations: 78.62 kB / 0.8438 GB, free: 8.309 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.5907, allocations: 47.98 kB / 0.8439 GB, free: 8.262 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.5917, allocations: 0.5223 MB / 0.8444 GB, free: 7.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.5917, allocations: 4 kB / 0.8444 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.5917, allocations: 16 kB / 0.8444 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.5918, allocations: 11.94 kB / 0.8444 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.5926, allocations: 419.7 kB / 0.8448 GB, free: 7.285 MB / 0.67 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.003634/0.5962, allocations: 2.72 MB / 0.8475 GB, free: 4.332 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.5972, allocations: 444.4 kB / 0.8479 GB, free: 3.891 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.5979, allocations: 304.8 kB / 0.8482 GB, free: 3.594 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.5979, allocations: 12.27 kB / 0.8482 GB, free: 3.582 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.5984, allocations: 280.1 kB / 0.8484 GB, free: 3.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 3.647e-06/0.5985, allocations: 0 / 0.8484 GB, free: 3.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.002705/0.6012, allocations: 1.154 MB / 0.8496 GB, free: 2.094 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.6012, allocations: 59.41 kB / 0.8496 GB, free: 2.023 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.603, allocations: 1.768 MB / 0.8514 GB, free: 252 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.6031, allocations: 33.7 kB / 0.8514 GB, free: 212 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.6035, allocations: 0.5293 MB / 0.8519 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.6036, allocations: 154.7 kB / 0.8521 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.6038, allocations: 102.2 kB / 0.8521 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6039, allocations: 337.9 kB / 0.8525 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.6044, allocations: 209 kB / 0.8527 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.6049, allocations: 339.2 kB / 0.853 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.6058, allocations: 0.5165 MB / 0.8535 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6058, allocations: 4 kB / 0.8535 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00153/0.6073, allocations: 0.8163 MB / 0.8543 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6074, allocations: 11.98 kB / 0.8543 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6074, allocations: 4 kB / 0.8543 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/0.6078, allocations: 126.9 kB / 0.8544 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.6082, allocations: 111.8 kB / 0.8545 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.6109, allocations: 2.602 MB / 0.8571 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.6115, allocations: 79.64 kB / 0.8572 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.6116, allocations: 27.94 kB / 0.8572 GB, free: 10.02 MB / 0.6856 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.0005203/0.6121, allocations: 388 kB / 0.8576 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.6123, allocations: 123.1 kB / 0.8577 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.6125, allocations: 139.7 kB / 0.8578 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6125, allocations: 11.92 kB / 0.8578 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.6125, allocations: 4 kB / 0.8578 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6125, allocations: 0 / 0.8578 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.6147, allocations: 1.493 MB / 0.8593 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6147, allocations: 0 / 0.8593 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.615, allocations: 47.89 kB / 0.8593 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003845/0.6154, allocations: 157.6 kB / 0.8595 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.6154, allocations: 15.98 kB / 0.8595 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.6188, allocations: 4.025 MB / 0.8634 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6188, allocations: 4.062 kB / 0.8634 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.6205, allocations: 0.9859 MB / 0.8644 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.6208, allocations: 220.2 kB / 0.8646 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.6209, allocations: 11.98 kB / 0.8646 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.6212, allocations: 31.91 kB / 0.8646 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6214, allocations: 60 kB / 0.8647 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.6214, allocations: 19.94 kB / 0.8647 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001277/0.6227, allocations: 1.285 MB / 0.866 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6227, allocations: 0 / 0.866 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007287/0.6235, allocations: 203.7 kB / 0.8662 GB, free: 428 kB / 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,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.3136/0.937, allocations: 1.899 MB / 0.868 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.9387, allocations: 0.6656 MB / 0.8687 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9387, allocations: 2.531 kB / 0.8687 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.9395, allocations: 0.5252 MB / 0.8692 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.9406, allocations: 195.1 kB / 0.8694 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.9535, allocations: 8.554 MB / 0.8777 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.9541, allocations: 1.149 MB / 0.8788 GB, free: 190 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003542/0.9545, allocations: 95.38 kB / 0.8789 GB, free: 190 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9549, allocations: 409 kB / 0.8793 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.363e-06/0.9549, allocations: 1.594 kB / 0.8793 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/1.003, allocations: 20.85 MB / 0.8997 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.9, allocations: 9.25 kB / 0.8997 GB, free: 180.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_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_TestCase3.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)