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.001227/0.001227, 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.001137/0.001137, allocations: 195.2 kB / 16.54 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.86 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4116, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2107/0.6224, allocations: 156.7 MB / 0.7332 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02808/0.6506, allocations: 21.73 MB / 0.7545 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.6527, allocations: 55.69 kB / 0.7545 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.6546, allocations: 1.153 MB / 0.7556 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.6564, allocations: 0.864 MB / 0.7565 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.6578, allocations: 436.3 kB / 0.7569 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.6595, allocations: 1.259 MB / 0.7581 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.6607, allocations: 0.6892 MB / 0.7588 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.662, allocations: 0.5452 MB / 0.7593 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.6634, allocations: 0.9138 MB / 0.7602 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.6636, allocations: 68 kB / 0.7603 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.6641, allocations: 112 kB / 0.7604 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.6645, allocations: 316.7 kB / 0.7607 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.6652, allocations: 492.8 kB / 0.7612 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.6669, allocations: 1.183 MB / 0.7623 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6669, allocations: 4 kB / 0.7623 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6669, allocations: 4 kB / 0.7623 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.138e-05/0.667, allocations: 0 / 0.7623 GB, free: 6.324 MB / 0.5919 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.003026/0.67, allocations: 1.471 MB / 0.7638 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6701, allocations: 8.031 kB / 0.7638 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.6702, allocations: 90.64 kB / 0.7639 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.6705, allocations: 138.8 kB / 0.764 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.6716, allocations: 0.647 MB / 0.7646 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.6718, allocations: 70.69 kB / 0.7647 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.6719, allocations: 55.84 kB / 0.7647 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.673, allocations: 0.5145 MB / 0.7653 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.673, allocations: 0 / 0.7653 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.673, allocations: 20 kB / 0.7653 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.6731, allocations: 15.94 kB / 0.7653 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.674, allocations: 415.7 kB / 0.7657 GB, free: 2.758 MB / 0.5919 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.003959/0.6779, allocations: 2.743 MB / 0.7684 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.679, allocations: 440 kB / 0.7688 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.6796, allocations: 309.2 kB / 0.7691 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.6797, allocations: 8.594 kB / 0.7691 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.6803, allocations: 283 kB / 0.7694 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 3.446e-06/0.6803, allocations: 4 kB / 0.7694 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.00271/0.683, allocations: 1.145 MB / 0.7705 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.683, allocations: 55.41 kB / 0.7705 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.6851, allocations: 1.764 MB / 0.7723 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.6851, allocations: 37.7 kB / 0.7723 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.6856, allocations: 0.5249 MB / 0.7728 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.6858, allocations: 150.1 kB / 0.7729 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.6859, allocations: 98.16 kB / 0.773 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6861, allocations: 333.9 kB / 0.7734 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.6866, allocations: 213 kB / 0.7736 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.6872, allocations: 335.2 kB / 0.7739 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.6881, allocations: 0.52 MB / 0.7744 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6881, allocations: 0 / 0.7744 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001566/0.6897, allocations: 0.805 MB / 0.7752 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6897, allocations: 10.66 kB / 0.7752 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6898, allocations: 0 / 0.7752 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.6902, allocations: 147.7 kB / 0.7753 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.6906, allocations: 99.81 kB / 0.7754 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.6936, allocations: 2.608 MB / 0.778 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.6941, allocations: 75.47 kB / 0.778 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.6941, allocations: 23.98 kB / 0.7781 GB, free: 5.488 MB / 0.6075 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.0005424/0.6947, allocations: 384 kB / 0.7784 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.6949, allocations: 126.4 kB / 0.7785 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.6951, allocations: 135.7 kB / 0.7787 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6951, allocations: 8 kB / 0.7787 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6951, allocations: 0 / 0.7787 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6951, allocations: 7.984 kB / 0.7787 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.6975, allocations: 1.492 MB / 0.7801 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6976, allocations: 3.938 kB / 0.7802 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.6978, allocations: 43.91 kB / 0.7802 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.6983, allocations: 161.6 kB / 0.7803 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.6983, allocations: 12 kB / 0.7804 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.702, allocations: 4.035 MB / 0.7843 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7021, allocations: 0 / 0.7843 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.7039, allocations: 0.9871 MB / 0.7853 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.7042, allocations: 215.6 kB / 0.7855 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.7043, allocations: 12 kB / 0.7855 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.7046, allocations: 39.84 kB / 0.7855 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.7048, allocations: 47.92 kB / 0.7856 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.7048, allocations: 19.98 kB / 0.7856 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00145/0.7063, allocations: 1.285 MB / 0.7868 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7063, allocations: 0 / 0.7868 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008006/0.7071, allocations: 199.7 kB / 0.787 GB, free: 11.9 MB / 0.6231 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.003055/0.7101, allocations: 1.9 MB / 0.7889 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.7118, allocations: 0.6983 MB / 0.7896 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7118, allocations: 0 / 0.7896 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/0.7127, allocations: 0.5249 MB / 0.7901 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.7137, allocations: 206.7 kB / 0.7903 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.7267, allocations: 9.066 MB / 0.7991 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.7275, allocations: 1.149 MB / 0.8003 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.7279, allocations: 96.77 kB / 0.8003 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.7283, allocations: 411.3 kB / 0.8007 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.7284, allocations: 0 / 0.8007 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3119/1.04, allocations: 20.46 MB / 0.8207 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.549/10.59, allocations: 7.219 kB / 0.8207 GB, free: 216.4 MB / 0.6387 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)