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.001142/0.001142, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001166/0.001166, allocations: 193.5 kB / 16.25 MB, free: 6.145 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.696/0.696, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.62 kB / 0.5014 GB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.412, allocations: 80.19 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1678/0.5798, allocations: 154.6 MB / 0.7306 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02481/0.6047, allocations: 21.47 MB / 0.7516 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.6069, allocations: 51.69 kB / 0.7517 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.6087, allocations: 1.126 MB / 0.7528 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.6103, allocations: 0.8255 MB / 0.7536 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.6115, allocations: 374.8 kB / 0.7539 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.613, allocations: 1.255 MB / 0.7551 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.6138, allocations: 0.7008 MB / 0.7558 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.6145, allocations: 0.5529 MB / 0.7564 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.6155, allocations: 0.9528 MB / 0.7573 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.6156, allocations: 68 kB / 0.7574 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.6158, allocations: 104 kB / 0.7575 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.6161, allocations: 332.7 kB / 0.7578 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.6165, allocations: 496.8 kB / 0.7583 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.6175, allocations: 1.187 MB / 0.7594 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6175, allocations: 0 / 0.7594 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6175, allocations: 4 kB / 0.7594 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.6176, allocations: 0 / 0.7594 GB, free: 9.004 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.002087/0.6197, allocations: 1.471 MB / 0.7609 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6197, allocations: 12.02 kB / 0.7609 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.369e-05/0.6198, allocations: 82.72 kB / 0.7609 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.62, allocations: 138.8 kB / 0.7611 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.6207, allocations: 0.6547 MB / 0.7617 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.6209, allocations: 78.69 kB / 0.7618 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.6209, allocations: 43.91 kB / 0.7618 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.6218, allocations: 0.5145 MB / 0.7623 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6219, allocations: 4 kB / 0.7623 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.6219, allocations: 23.98 kB / 0.7624 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.6219, allocations: 15.94 kB / 0.7624 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.6227, allocations: 415.6 kB / 0.7628 GB, free: 5.434 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.003428/0.6261, allocations: 2.8 MB / 0.7655 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.6271, allocations: 455.3 kB / 0.7659 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.6276, allocations: 277.4 kB / 0.7662 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.6277, allocations: 12.64 kB / 0.7662 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.6283, allocations: 306.9 kB / 0.7665 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/0.6283, allocations: 0 / 0.7665 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002828/0.6312, allocations: 1.233 MB / 0.7677 GB, free: 56 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.6312, allocations: 59.41 kB / 0.7678 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.6329, allocations: 1.748 MB / 0.7695 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.633, allocations: 41.69 kB / 0.7695 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.6335, allocations: 0.5183 MB / 0.77 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.6336, allocations: 153.9 kB / 0.7702 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.6337, allocations: 94.25 kB / 0.7703 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6339, allocations: 333.9 kB / 0.7706 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.6343, allocations: 216.9 kB / 0.7708 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.6348, allocations: 332.8 kB / 0.7711 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.6357, allocations: 0.511 MB / 0.7716 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6357, allocations: 4 kB / 0.7716 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001573/0.6373, allocations: 0.8427 MB / 0.7724 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6373, allocations: 8 kB / 0.7724 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6373, allocations: 4 kB / 0.7724 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/0.6378, allocations: 184.9 kB / 0.7726 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.6382, allocations: 99.81 kB / 0.7727 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.6416, allocations: 2.998 MB / 0.7756 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.642, allocations: 79.55 kB / 0.7757 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.6421, allocations: 20 kB / 0.7757 GB, free: 7.574 MB / 0.6075 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.0004409/0.6425, allocations: 384 kB / 0.7761 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6427, allocations: 114.5 kB / 0.7762 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.6429, allocations: 139.7 kB / 0.7763 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6429, allocations: 8 kB / 0.7764 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6429, allocations: 7.984 kB / 0.7764 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.643, allocations: 0 / 0.7764 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.6452, allocations: 1.571 MB / 0.7779 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6452, allocations: 0 / 0.7779 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.6455, allocations: 43.91 kB / 0.7779 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.6459, allocations: 189.6 kB / 0.7781 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.646, allocations: 15.98 kB / 0.7781 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.6504, allocations: 4.564 MB / 0.7826 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6505, allocations: 0 / 0.7826 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.6522, allocations: 1.057 MB / 0.7836 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.6525, allocations: 215.6 kB / 0.7838 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.6526, allocations: 16.23 kB / 0.7838 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.6529, allocations: 35.95 kB / 0.7839 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.6531, allocations: 51.92 kB / 0.7839 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6531, allocations: 15.98 kB / 0.7839 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001297/0.6544, allocations: 1.284 MB / 0.7852 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.403e-06/0.6544, allocations: 4 kB / 0.7852 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000804/0.6552, allocations: 215.5 kB / 0.7854 GB, free: 13.28 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,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.003057/0.6583, allocations: 1.973 MB / 0.7873 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.66, allocations: 0.7499 MB / 0.7881 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.66, allocations: 0 / 0.7881 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.661, allocations: 0.5678 MB / 0.7886 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6621, allocations: 205 kB / 0.7888 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.6755, allocations: 9.407 MB / 0.798 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.6764, allocations: 1.149 MB / 0.7991 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.6768, allocations: 88.77 kB / 0.7992 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.6772, allocations: 403.3 kB / 0.7996 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6772, allocations: 0 / 0.7996 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.112/1.79, allocations: 20.53 MB / 0.8196 GB, free: 220 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.79, allocations: 267.4 kB / 0.8199 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.961, allocations: 0 / 0.8199 GB, free: 219.6 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)