Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001004/0.001004, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001229/0.001229, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8015/0.8015, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001862, allocations: 62.02 kB / 0.5014 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1792, allocations: 80.2 MB / 0.5797 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.3838/0.5631, allocations: 154.8 MB / 0.7309 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02288/0.586, allocations: 21.62 MB / 0.752 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.5879, allocations: 52.25 kB / 0.7521 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.5895, allocations: 1.304 MB / 0.7533 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5908, allocations: 0.9256 MB / 0.7542 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.5919, allocations: 457.1 kB / 0.7547 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.5932, allocations: 1.438 MB / 0.7561 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.594, allocations: 0.785 MB / 0.7568 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.5946, allocations: 0.6503 MB / 0.7575 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.5957, allocations: 1.148 MB / 0.7586 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.5958, allocations: 72 kB / 0.7587 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.5961, allocations: 123.9 kB / 0.7588 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.5964, allocations: 396.5 kB / 0.7592 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.5968, allocations: 0.5588 MB / 0.7597 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.5979, allocations: 1.343 MB / 0.761 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5979, allocations: 0 / 0.761 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5979, allocations: 0 / 0.761 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.5979, allocations: 0 / 0.761 GB, free: 9.344 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00224/0.6002, allocations: 1.689 MB / 0.7627 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.6002, allocations: 8.031 kB / 0.7627 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.6003, allocations: 94.64 kB / 0.7628 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.6005, allocations: 163 kB / 0.7629 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.6014, allocations: 0.7435 MB / 0.7636 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.6015, allocations: 78.62 kB / 0.7637 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.6016, allocations: 56 kB / 0.7638 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.6026, allocations: 0.5653 MB / 0.7643 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.6026, allocations: 3.906 kB / 0.7643 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.6027, allocations: 23.98 kB / 0.7644 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6027, allocations: 12 kB / 0.7644 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.6035, allocations: 451.6 kB / 0.7648 GB, free: 5.348 MB / 0.5762 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.003402/0.607, allocations: 3.01 MB / 0.7677 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.608, allocations: 0.4901 MB / 0.7682 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.6086, allocations: 324.2 kB / 0.7685 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.6087, allocations: 4.375 kB / 0.7685 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006037/0.6093, allocations: 333.1 kB / 0.7688 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=52): time 2.895e-06/0.6093, allocations: 0 / 0.7688 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52): time 0.003058/0.6124, allocations: 1.34 MB / 0.7702 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.6124, allocations: 75.77 kB / 0.7702 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.6144, allocations: 2.108 MB / 0.7723 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.6144, allocations: 41.69 kB / 0.7723 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.6149, allocations: 0.6245 MB / 0.7729 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.615, allocations: 165.7 kB / 0.7731 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.6152, allocations: 106.3 kB / 0.7732 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.6153, allocations: 330 kB / 0.7735 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.6158, allocations: 233.2 kB / 0.7737 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.6164, allocations: 349.8 kB / 0.7741 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.6173, allocations: 0.5535 MB / 0.7746 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.6173, allocations: 0 / 0.7746 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001653/0.619, allocations: 0.9062 MB / 0.7755 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.619, allocations: 8 kB / 0.7755 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.619, allocations: 0.5469 kB / 0.7755 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.6195, allocations: 198.8 kB / 0.7757 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.6199, allocations: 111.8 kB / 0.7758 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.6233, allocations: 3.048 MB / 0.7788 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.6237, allocations: 79.48 kB / 0.7788 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.6238, allocations: 31.92 kB / 0.7789 GB, free: 6.305 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.6243, allocations: 439.4 kB / 0.7793 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6244, allocations: 138.2 kB / 0.7794 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.6247, allocations: 173.9 kB / 0.7796 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.6247, allocations: 8 kB / 0.7796 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6247, allocations: 4 kB / 0.7796 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6247, allocations: 3.984 kB / 0.7796 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.6272, allocations: 1.726 MB / 0.7813 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6272, allocations: 12 kB / 0.7813 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.6274, allocations: 43.97 kB / 0.7813 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.6279, allocations: 201.6 kB / 0.7815 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.628, allocations: 15.98 kB / 0.7816 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/0.6321, allocations: 4.608 MB / 0.7861 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6321, allocations: 0 / 0.7861 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.634, allocations: 1.162 MB / 0.7872 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.6343, allocations: 243.2 kB / 0.7874 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6344, allocations: 12 kB / 0.7874 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.6348, allocations: 43.95 kB / 0.7875 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6349, allocations: 52.36 kB / 0.7875 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.635, allocations: 23.98 kB / 0.7875 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001467/0.6365, allocations: 1.545 MB / 0.7891 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.6365, allocations: 0 / 0.7891 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007635/0.6372, allocations: 235.5 kB / 0.7893 GB, free: 11.25 MB / 0.6075 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.003144/0.6404, allocations: 2.103 MB / 0.7913 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.642, allocations: 0.7944 MB / 0.7921 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6421, allocations: 0 / 0.7921 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.643, allocations: 0.5821 MB / 0.7927 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.644, allocations: 226.1 kB / 0.7929 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6577, allocations: 10.9 MB / 0.8035 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.6585, allocations: 1.239 MB / 0.8047 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.6588, allocations: 101.1 kB / 0.8048 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.6593, allocations: 475.3 kB / 0.8053 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6593, allocations: 0 / 0.8053 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5854/1.245, allocations: 23.36 MB / 0.8281 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.245, allocations: 274.4 kB / 0.8284 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.614, allocations: 0 / 0.8284 GB, free: 3.215 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)