Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001397/0.001397, allocations: 112.5 kB / 15.73 MB, free: 76 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.001379/0.001379, allocations: 195 kB / 16.67 MB, free: 6.582 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.088/1.088, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4323, allocations: 81.02 MB / 0.6648 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1946/0.627, allocations: 156.7 MB / 0.8179 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02962/0.6566, allocations: 21.76 MB / 0.8391 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.6586, allocations: 51.75 kB / 0.8392 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.6604, allocations: 1.169 MB / 0.8403 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.6621, allocations: 0.8484 MB / 0.8411 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.6635, allocations: 445 kB / 0.8416 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.6653, allocations: 1.259 MB / 0.8428 GB, free: 10.01 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008953/0.6662, allocations: 0.6748 MB / 0.8434 GB, free: 9.332 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.667, allocations: 0.5491 MB / 0.844 GB, free: 8.781 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.6682, allocations: 0.9216 MB / 0.8449 GB, free: 7.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.6683, allocations: 64 kB / 0.8449 GB, free: 7.797 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.6686, allocations: 112 kB / 0.8451 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.6689, allocations: 316.7 kB / 0.8454 GB, free: 7.375 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.6695, allocations: 0.489 MB / 0.8458 GB, free: 6.883 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.6709, allocations: 1.207 MB / 0.847 GB, free: 5.672 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6709, allocations: 0 / 0.847 GB, free: 5.672 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6709, allocations: 0 / 0.847 GB, free: 5.672 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.671, allocations: 0 / 0.847 GB, free: 5.672 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.00249/0.6734, allocations: 1.525 MB / 0.8485 GB, free: 4.094 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6735, allocations: 8.031 kB / 0.8485 GB, free: 4.086 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.6736, allocations: 90.64 kB / 0.8486 GB, free: 3.988 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.6738, allocations: 143.6 kB / 0.8487 GB, free: 3.848 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.6748, allocations: 0.6675 MB / 0.8494 GB, free: 3.129 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.6749, allocations: 70.69 kB / 0.8494 GB, free: 3.051 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.675, allocations: 51.98 kB / 0.8495 GB, free: 3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.676, allocations: 0.5184 MB / 0.85 GB, free: 2.473 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6761, allocations: 0 / 0.85 GB, free: 2.473 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.6761, allocations: 16 kB / 0.85 GB, free: 2.457 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.6761, allocations: 19.94 kB / 0.85 GB, free: 2.438 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.677, allocations: 415.7 kB / 0.8504 GB, free: 2.031 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.003732/0.6808, allocations: 2.728 MB / 0.8531 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.6818, allocations: 439.6 kB / 0.8535 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.6825, allocations: 306 kB / 0.8538 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.6825, allocations: 4.328 kB / 0.8538 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/0.6831, allocations: 284.1 kB / 0.8541 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.6831, allocations: 0 / 0.8541 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=44): time 0.002795/0.6859, allocations: 1.155 MB / 0.8552 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.686, allocations: 59.41 kB / 0.8553 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.6881, allocations: 1.764 MB / 0.857 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.6882, allocations: 41.64 kB / 0.857 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/0.6887, allocations: 0.5293 MB / 0.8575 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.6888, allocations: 154.7 kB / 0.8577 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.689, allocations: 98.25 kB / 0.8578 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6891, allocations: 329.9 kB / 0.8581 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.6896, allocations: 217 kB / 0.8583 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.6902, allocations: 335.2 kB / 0.8586 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.6912, allocations: 0.5209 MB / 0.8591 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.6913, allocations: 4 kB / 0.8591 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00166/0.6929, allocations: 0.8134 MB / 0.8599 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.693, allocations: 8 kB / 0.8599 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.693, allocations: 4 kB / 0.8599 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.6934, allocations: 136.2 kB / 0.8601 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.6938, allocations: 103.8 kB / 0.8602 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.6969, allocations: 2.605 MB / 0.8627 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.6974, allocations: 71.62 kB / 0.8628 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.6975, allocations: 20 kB / 0.8628 GB, free: 4.773 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.0005631/0.6981, allocations: 394.5 kB / 0.8632 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.6982, allocations: 131.2 kB / 0.8633 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.6984, allocations: 143.7 kB / 0.8634 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6985, allocations: 4 kB / 0.8635 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.6985, allocations: 7.938 kB / 0.8635 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6985, allocations: 0 / 0.8635 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.7011, allocations: 1.489 MB / 0.8649 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.7011, allocations: 0 / 0.8649 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.7014, allocations: 51.89 kB / 0.865 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/0.7018, allocations: 164.2 kB / 0.8651 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.7019, allocations: 12 kB / 0.8651 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3678/1.07, allocations: 4.018 MB / 0.8691 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.07, allocations: 0 / 0.8691 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/1.073, allocations: 0.9895 MB / 0.87 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/1.073, allocations: 222.7 kB / 0.8702 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.073, allocations: 14.41 kB / 0.8702 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.073, allocations: 25.97 kB / 0.8703 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.074, allocations: 53.83 kB / 0.8703 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/1.074, allocations: 16.67 kB / 0.8703 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002155/1.076, allocations: 1.29 MB / 0.8716 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.51e-07/1.076, allocations: 0 / 0.8716 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001216/1.077, allocations: 195.6 kB / 0.8718 GB, free: 190.8 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,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.003809/1.081, allocations: 1.92 MB / 0.8737 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001466/1.082, allocations: 0.6692 MB / 0.8743 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.082, allocations: 0 / 0.8743 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/1.083, allocations: 0.5249 MB / 0.8748 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.085, allocations: 203 kB / 0.875 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.097, allocations: 8.554 MB / 0.8834 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/1.098, allocations: 1.145 MB / 0.8845 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003828/1.098, allocations: 94.39 kB / 0.8846 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.099, allocations: 407.2 kB / 0.885 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/1.099, allocations: 1.094 kB / 0.885 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/1.154, allocations: 20.85 MB / 0.9053 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.08, allocations: 12.34 kB / 0.9053 GB, free: 172.1 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_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_TestCase1.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)