Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_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.001447/0.001447, allocations: 108 kB / 15.61 MB, free: 148 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.001567/0.001566, allocations: 193.7 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.779/0.779, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.14 kB / 0.5019 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3867, allocations: 80.19 MB / 0.5802 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1948/0.5815, allocations: 156.7 MB / 0.7332 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02943/0.611, allocations: 21.74 MB / 0.7545 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.6135, allocations: 51.75 kB / 0.7545 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.6157, allocations: 1.161 MB / 0.7556 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.6179, allocations: 0.8562 MB / 0.7565 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.6194, allocations: 448.2 kB / 0.7569 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.6214, allocations: 1.251 MB / 0.7581 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.6226, allocations: 0.6814 MB / 0.7588 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.6236, allocations: 0.5491 MB / 0.7593 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6252, allocations: 0.9138 MB / 0.7602 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.6254, allocations: 68 kB / 0.7603 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.6259, allocations: 108 kB / 0.7604 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004107/0.6263, allocations: 320.7 kB / 0.7607 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008206/0.6271, allocations: 492.8 kB / 0.7612 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.6286, allocations: 1.187 MB / 0.7623 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6286, allocations: 0 / 0.7623 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6286, allocations: 3.938 kB / 0.7623 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.507e-05/0.6287, allocations: 0 / 0.7623 GB, free: 6.461 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.003371/0.6321, allocations: 1.475 MB / 0.7638 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6321, allocations: 8.031 kB / 0.7638 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.6323, allocations: 82.7 kB / 0.7639 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.6326, allocations: 142.8 kB / 0.764 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.6336, allocations: 0.6469 MB / 0.7646 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.6338, allocations: 74.69 kB / 0.7647 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6339, allocations: 47.91 kB / 0.7647 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009884/0.6349, allocations: 0.5184 MB / 0.7653 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.6349, allocations: 8 kB / 0.7653 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.635, allocations: 16 kB / 0.7653 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.635, allocations: 11.94 kB / 0.7653 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.6359, allocations: 419.6 kB / 0.7657 GB, free: 2.891 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.003961/0.6399, allocations: 2.735 MB / 0.7684 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6409, allocations: 447.9 kB / 0.7688 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.6416, allocations: 313.3 kB / 0.7691 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.6416, allocations: 4.656 kB / 0.7691 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/0.6422, allocations: 279 kB / 0.7694 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.505e-06/0.6422, allocations: 4 kB / 0.7694 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002693/0.6449, allocations: 1.142 MB / 0.7705 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.645, allocations: 59.41 kB / 0.7705 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.647, allocations: 1.76 MB / 0.7722 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.647, allocations: 37.7 kB / 0.7723 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.6475, allocations: 0.5327 MB / 0.7728 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.6477, allocations: 138.1 kB / 0.7729 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.6479, allocations: 102.1 kB / 0.773 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.648, allocations: 337.9 kB / 0.7734 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.6485, allocations: 209 kB / 0.7736 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.6491, allocations: 343.1 kB / 0.7739 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6501, allocations: 0.5124 MB / 0.7744 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.6501, allocations: 4 kB / 0.7744 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00161/0.6517, allocations: 0.805 MB / 0.7752 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6518, allocations: 8 kB / 0.7752 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6518, allocations: 8 kB / 0.7752 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/0.6522, allocations: 143.4 kB / 0.7753 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.6526, allocations: 99.88 kB / 0.7754 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.6556, allocations: 2.603 MB / 0.778 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.6561, allocations: 79.47 kB / 0.778 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.6561, allocations: 20 kB / 0.7781 GB, free: 5.629 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.0005167/0.6567, allocations: 388 kB / 0.7784 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6568, allocations: 122.4 kB / 0.7785 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.6571, allocations: 143.7 kB / 0.7787 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6571, allocations: 7.938 kB / 0.7787 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.6571, allocations: 8 kB / 0.7787 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6571, allocations: 0 / 0.7787 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.6594, allocations: 1.492 MB / 0.7802 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6595, allocations: 0 / 0.7802 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6597, allocations: 47.97 kB / 0.7802 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.6601, allocations: 161.6 kB / 0.7804 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.6602, allocations: 8 kB / 0.7804 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.664, allocations: 4.036 MB / 0.7843 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.664, allocations: 3.938 kB / 0.7843 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.6658, allocations: 0.9871 MB / 0.7853 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.6661, allocations: 211.6 kB / 0.7855 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6662, allocations: 8 kB / 0.7855 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.6666, allocations: 39.91 kB / 0.7855 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6667, allocations: 51.92 kB / 0.7856 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.6668, allocations: 15.98 kB / 0.7856 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001737/0.6685, allocations: 1.285 MB / 0.7868 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6685, allocations: 3.938 kB / 0.7868 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007833/0.6693, allocations: 195.7 kB / 0.787 GB, free: 12.04 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.003154/0.6725, allocations: 1.899 MB / 0.7889 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.6741, allocations: 0.6961 MB / 0.7896 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6741, allocations: 0 / 0.7896 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.675, allocations: 0.5249 MB / 0.7901 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6761, allocations: 216.1 kB / 0.7903 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.6897, allocations: 9.058 MB / 0.7991 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/0.6905, allocations: 1.149 MB / 0.8002 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003798/0.6909, allocations: 100.8 kB / 0.8003 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.6914, allocations: 407.3 kB / 0.8007 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.6914, allocations: 0 / 0.8007 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3179/1.009, allocations: 20.46 MB / 0.8207 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/11.01, allocations: 10.52 kB / 0.8207 GB, free: 216.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)