Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_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.007458/0.007458, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001753/0.001753, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.09 kB / 0.5809 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 80.21 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1477/0.3006, allocations: 156.7 MB / 0.8122 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3745/0.6751, allocations: 21.71 MB / 0.8334 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.6776, allocations: 55 kB / 0.8335 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.6797, allocations: 1.165 MB / 0.8346 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.6815, allocations: 0.8691 MB / 0.8355 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.6828, allocations: 442.7 kB / 0.8359 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.6846, allocations: 1.255 MB / 0.8371 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.6857, allocations: 0.686 MB / 0.8378 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.6871, allocations: 0.5552 MB / 0.8383 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.6889, allocations: 0.9192 MB / 0.8392 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.689, allocations: 66 kB / 0.8393 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.6895, allocations: 108.7 kB / 0.8394 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004163/0.6899, allocations: 325.1 kB / 0.8397 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.6905, allocations: 491.9 kB / 0.8402 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.692, allocations: 1.209 MB / 0.8414 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.692, allocations: 1.25 kB / 0.8414 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.785e-06/0.692, allocations: 0.75 kB / 0.8414 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.692, allocations: 0 / 0.8414 GB, free: 2.387 MB / 0.6387 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.00285/0.6949, allocations: 1.518 MB / 0.8428 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.695, allocations: 8 kB / 0.8428 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.202e-05/0.6951, allocations: 87 kB / 0.8429 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.6953, allocations: 139.9 kB / 0.8431 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.6961, allocations: 0.6767 MB / 0.8437 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.6962, allocations: 74.45 kB / 0.8438 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.6963, allocations: 48.39 kB / 0.8438 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.6972, allocations: 0.5255 MB / 0.8444 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6972, allocations: 3.094 kB / 0.8444 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.6973, allocations: 18.75 kB / 0.8444 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.6973, allocations: 11.22 kB / 0.8444 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.698, allocations: 409.8 kB / 0.8448 GB, free: 0.8711 MB / 0.6387 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.003696/0.7017, allocations: 2.794 MB / 0.8475 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.7027, allocations: 458.3 kB / 0.8479 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.7033, allocations: 284.8 kB / 0.8482 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.7033, allocations: 5.172 kB / 0.8482 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.7038, allocations: 311.5 kB / 0.8485 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/0.7038, allocations: 4.594 kB / 0.8485 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002821/0.7067, allocations: 1.244 MB / 0.8497 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.7067, allocations: 58.31 kB / 0.8498 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7084, allocations: 1.752 MB / 0.8515 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.7084, allocations: 41.17 kB / 0.8515 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.7088, allocations: 0.5194 MB / 0.8521 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.709, allocations: 152.4 kB / 0.8522 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.7091, allocations: 95.7 kB / 0.8523 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7092, allocations: 329.5 kB / 0.8526 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.7097, allocations: 215.7 kB / 0.8528 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.7102, allocations: 333.4 kB / 0.8531 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.711, allocations: 0.5038 MB / 0.8536 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.711, allocations: 3.938 kB / 0.8536 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001573/0.7126, allocations: 0.8545 MB / 0.8545 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7126, allocations: 5.906 kB / 0.8545 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.7126, allocations: 5.031 kB / 0.8545 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.7131, allocations: 186.1 kB / 0.8546 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.7135, allocations: 95.97 kB / 0.8547 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.7166, allocations: 3.003 MB / 0.8577 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.7171, allocations: 76.5 kB / 0.8577 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.7171, allocations: 20.78 kB / 0.8578 GB, free: 12.22 MB / 0.6544 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.0005796/0.7177, allocations: 387 kB / 0.8581 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.7179, allocations: 121.6 kB / 0.8582 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.7181, allocations: 140.1 kB / 0.8584 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7181, allocations: 5.906 kB / 0.8584 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.7181, allocations: 1.969 kB / 0.8584 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.7181, allocations: 2.906 kB / 0.8584 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.7204, allocations: 1.57 MB / 0.8599 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7204, allocations: 3.312 kB / 0.8599 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.7206, allocations: 47.44 kB / 0.86 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.7211, allocations: 194.2 kB / 0.8602 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.7212, allocations: 16.98 kB / 0.8602 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.7252, allocations: 4.547 MB / 0.8646 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7253, allocations: 0.8125 kB / 0.8646 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.7271, allocations: 1.069 MB / 0.8657 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.7274, allocations: 222.4 kB / 0.8659 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.7275, allocations: 15.48 kB / 0.8659 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.7278, allocations: 29.81 kB / 0.8659 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.728, allocations: 55.47 kB / 0.866 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.728, allocations: 11.81 kB / 0.866 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001271/0.7293, allocations: 1.281 MB / 0.8672 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7293, allocations: 1.125 kB / 0.8672 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007989/0.7301, allocations: 204.6 kB / 0.8674 GB, free: 8.09 MB / 0.6544 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.002889/0.733, allocations: 1.993 MB / 0.8694 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.7345, allocations: 0.7177 MB / 0.8701 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7345, allocations: 4.719 kB / 0.8701 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008328/0.7354, allocations: 0.559 MB / 0.8706 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7366, allocations: 198.7 kB / 0.8708 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.7494, allocations: 8.605 MB / 0.8792 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.7507, allocations: 1.153 MB / 0.8803 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004604/0.7512, allocations: 90.78 kB / 0.8804 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.7518, allocations: 407.8 kB / 0.8808 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of SimCode: time 1.433e-06/0.7518, allocations: 0 / 0.8808 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06536/0.8171, allocations: 21.22 MB / 0.9015 GB, free: 6.227 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.47, allocations: 15.08 kB / 0.9016 GB, free: 6.215 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)