Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001279/0.001279, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.72 kB / 0.5012 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 80.21 MB / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.5416/0.7304, allocations: 155.2 MB / 0.7311 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02857/0.759, allocations: 21.93 MB / 0.7525 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.7619, allocations: 50.31 kB / 0.7525 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.7643, allocations: 2.119 MB / 0.7546 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.7665, allocations: 1.404 MB / 0.756 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.7681, allocations: 0.5445 MB / 0.7565 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002257/0.7704, allocations: 2.064 MB / 0.7585 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.7717, allocations: 1.025 MB / 0.7595 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.7728, allocations: 0.8254 MB / 0.7603 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.7746, allocations: 1.573 MB / 0.7618 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.7748, allocations: 56 kB / 0.7619 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.7752, allocations: 99.98 kB / 0.762 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.7757, allocations: 0.5354 MB / 0.7625 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007604/0.7765, allocations: 0.76 MB / 0.7633 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.7781, allocations: 1.852 MB / 0.7651 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7781, allocations: 0 / 0.7651 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7781, allocations: 0 / 0.7651 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.7781, allocations: 0 / 0.7651 GB, free: 5.094 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003414/0.7816, allocations: 2.355 MB / 0.7674 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7816, allocations: 12.03 kB / 0.7674 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.7818, allocations: 110.7 kB / 0.7675 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.7821, allocations: 245.5 kB / 0.7677 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.7833, allocations: 1.031 MB / 0.7687 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.7835, allocations: 87 kB / 0.7688 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.7836, allocations: 72 kB / 0.7689 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.785, allocations: 0.7883 MB / 0.7696 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.785, allocations: 4 kB / 0.7697 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.7851, allocations: 24 kB / 0.7697 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.7851, allocations: 19.94 kB / 0.7697 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.7863, allocations: 0.6414 MB / 0.7703 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.7912, allocations: 3.733 MB / 0.774 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.7927, allocations: 0.7424 MB / 0.7747 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.7935, allocations: 430.1 kB / 0.7751 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.7936, allocations: 12.55 kB / 0.7751 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007836/0.7943, allocations: 448.1 kB / 0.7755 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.7944, allocations: 0 / 0.7755 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.004058/0.7984, allocations: 1.838 MB / 0.7773 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.7985, allocations: 64.05 kB / 0.7774 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.8021, allocations: 3.367 MB / 0.7807 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.8023, allocations: 41.7 kB / 0.7807 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000827/0.8032, allocations: 0.9291 MB / 0.7816 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.8034, allocations: 232.7 kB / 0.7819 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.8036, allocations: 138.7 kB / 0.782 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8038, allocations: 341.9 kB / 0.7823 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.8045, allocations: 313.8 kB / 0.7826 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/0.8052, allocations: 480.5 kB / 0.7831 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.8065, allocations: 0.7466 MB / 0.7838 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8065, allocations: 0 / 0.7838 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002423/0.8089, allocations: 1.252 MB / 0.785 GB, free: 8 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.809, allocations: 4 kB / 0.785 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.809, allocations: 4 kB / 0.785 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/0.8097, allocations: 261.5 kB / 0.7853 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.8103, allocations: 135.8 kB / 0.7854 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.8148, allocations: 4.368 MB / 0.7897 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.8157, allocations: 107.3 kB / 0.7898 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.8158, allocations: 28.05 kB / 0.7898 GB, free: 10.85 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008292/0.8166, allocations: 0.6107 MB / 0.7904 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.8168, allocations: 213.3 kB / 0.7906 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.8172, allocations: 261.1 kB / 0.7909 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.8172, allocations: 8 kB / 0.7909 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.8172, allocations: 7.938 kB / 0.7909 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.8172, allocations: 3.984 kB / 0.7909 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.8209, allocations: 2.416 MB / 0.7932 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8209, allocations: 0 / 0.7932 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.8212, allocations: 67.89 kB / 0.7933 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006204/0.8218, allocations: 252.3 kB / 0.7935 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.8219, allocations: 19.98 kB / 0.7936 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.8262, allocations: 4.357 MB / 0.7978 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8262, allocations: 0 / 0.7978 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.829, allocations: 1.636 MB / 0.7994 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.8294, allocations: 326.2 kB / 0.7997 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.8296, allocations: 16 kB / 0.7997 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.8301, allocations: 47.95 kB / 0.7998 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.8302, allocations: 72.53 kB / 0.7998 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.8303, allocations: 27.98 kB / 0.7999 GB, free: 140 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002511/0.8328, allocations: 2.464 MB / 0.8023 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8328, allocations: 0 / 0.8023 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009811/0.8338, allocations: 307.4 kB / 0.8026 GB, free: 13.36 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003992/0.8378, allocations: 2.571 MB / 0.8051 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.84, allocations: 1.098 MB / 0.8062 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.84, allocations: 0 / 0.8062 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.8412, allocations: 0.7065 MB / 0.8068 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.8428, allocations: 282.9 kB / 0.8071 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/0.8654, allocations: 16.47 MB / 0.8232 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.8665, allocations: 1.556 MB / 0.8247 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000544/0.8671, allocations: 162.6 kB / 0.8249 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/0.8679, allocations: 0.7375 MB / 0.8256 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of SimCode: time 1.213e-06/0.8679, allocations: 3.938 kB / 0.8256 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/0.9235, allocations: 32.61 MB / 0.8575 GB, free: 4.527 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.9238, allocations: 269.4 kB / 0.8577 GB, free: 4.172 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.603, allocations: 3.938 kB / 0.8577 GB, free: 4.168 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)