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.001602/0.001601, allocations: 108 kB / 15.61 MB, free: 152 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.00191/0.00191, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.612/1.612, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7877/0.7877, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 60.25 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3813, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1696/0.5509, allocations: 156.7 MB / 0.7332 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.5764, allocations: 21.73 MB / 0.7545 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.5782, allocations: 59.69 kB / 0.7545 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.58, allocations: 1.149 MB / 0.7556 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.5816, allocations: 0.8679 MB / 0.7565 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.5829, allocations: 438.3 kB / 0.7569 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.5843, allocations: 1.251 MB / 0.7581 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008917/0.5853, allocations: 0.6814 MB / 0.7588 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007712/0.586, allocations: 0.553 MB / 0.7593 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.5871, allocations: 0.9176 MB / 0.7602 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.5873, allocations: 64 kB / 0.7603 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.5876, allocations: 111.9 kB / 0.7604 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.5879, allocations: 316.8 kB / 0.7607 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.5883, allocations: 496.8 kB / 0.7612 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.5894, allocations: 1.179 MB / 0.7623 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5894, allocations: 4 kB / 0.7623 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5894, allocations: 0 / 0.7623 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.038e-05/0.5894, allocations: 0 / 0.7623 GB, free: 6.398 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.002489/0.5919, allocations: 1.478 MB / 0.7638 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.592, allocations: 12.03 kB / 0.7638 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.5921, allocations: 86.7 kB / 0.7639 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.5923, allocations: 134.8 kB / 0.764 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.5931, allocations: 0.6548 MB / 0.7646 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5932, allocations: 66.69 kB / 0.7647 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.5933, allocations: 51.91 kB / 0.7647 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.5942, allocations: 0.5145 MB / 0.7652 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5943, allocations: 7.938 kB / 0.7653 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.5943, allocations: 23.94 kB / 0.7653 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5943, allocations: 15.94 kB / 0.7653 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/0.5952, allocations: 411.7 kB / 0.7657 GB, free: 2.82 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.003691/0.5989, allocations: 2.8 MB / 0.7684 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009999/0.6, allocations: 459.3 kB / 0.7689 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/0.6005, allocations: 289.3 kB / 0.7691 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.6006, allocations: 4.656 kB / 0.7691 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000562/0.6011, allocations: 302.9 kB / 0.7694 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 3.066e-06/0.6011, allocations: 0 / 0.7694 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002839/0.604, allocations: 1.237 MB / 0.7706 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.604, allocations: 55.41 kB / 0.7707 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.6058, allocations: 1.748 MB / 0.7724 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.6058, allocations: 45.69 kB / 0.7724 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.6062, allocations: 0.5217 MB / 0.773 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.6063, allocations: 153.9 kB / 0.7731 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.6065, allocations: 94.25 kB / 0.7732 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6066, allocations: 329.9 kB / 0.7735 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.6071, allocations: 217 kB / 0.7737 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.6076, allocations: 332.9 kB / 0.774 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.6085, allocations: 0.5115 MB / 0.7745 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6085, allocations: 4 kB / 0.7745 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001586/0.6101, allocations: 0.8373 MB / 0.7753 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6101, allocations: 4 kB / 0.7754 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6101, allocations: 4.562 kB / 0.7754 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.6107, allocations: 196.6 kB / 0.7755 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.611, allocations: 91.88 kB / 0.7756 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.6145, allocations: 3.002 MB / 0.7786 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.615, allocations: 79.48 kB / 0.7786 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.6151, allocations: 20 kB / 0.7787 GB, free: 4.953 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.0004663/0.6155, allocations: 384 kB / 0.779 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6157, allocations: 114.5 kB / 0.7791 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.6159, allocations: 143.7 kB / 0.7793 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.616, allocations: 7.984 kB / 0.7793 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.616, allocations: 11.94 kB / 0.7793 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.616, allocations: 3.984 kB / 0.7793 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.6184, allocations: 1.555 MB / 0.7808 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6184, allocations: 0 / 0.7808 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.6187, allocations: 51.89 kB / 0.7809 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.6191, allocations: 189.6 kB / 0.781 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.6192, allocations: 15.98 kB / 0.7811 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004114/0.6233, allocations: 4.559 MB / 0.7855 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6233, allocations: 3.938 kB / 0.7855 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.6252, allocations: 1.049 MB / 0.7865 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.6255, allocations: 219.6 kB / 0.7867 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6256, allocations: 12 kB / 0.7868 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.626, allocations: 27.97 kB / 0.7868 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.6261, allocations: 51.92 kB / 0.7868 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.6262, allocations: 12 kB / 0.7868 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001467/0.6277, allocations: 1.288 MB / 0.7881 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6277, allocations: 0 / 0.7881 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007932/0.6285, allocations: 211.7 kB / 0.7883 GB, free: 10.67 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.003049/0.6315, allocations: 1.973 MB / 0.7902 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.6331, allocations: 0.763 MB / 0.791 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6331, allocations: 0 / 0.791 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.634, allocations: 0.5524 MB / 0.7915 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.635, allocations: 194.6 kB / 0.7917 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.6476, allocations: 9.15 MB / 0.8006 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.6485, allocations: 1.157 MB / 0.8018 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.6488, allocations: 84.78 kB / 0.8018 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.6493, allocations: 403.3 kB / 0.8022 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/0.6494, allocations: 0 / 0.8022 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2737/0.923, allocations: 20.84 MB / 0.8226 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.34, allocations: 9.547 kB / 0.8226 GB, free: 218.3 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)