Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.000844, allocations: 92.61 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.78/0.78, allocations: 120.5 MB / 463 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 8 kB / 0.5447 GB, free: 41.03 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 82.85 MB / 0.6256 GB, free: 7.797 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6866/0.8225, allocations: 125.6 MB / 0.7482 GB, free: 8.547 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001223/0.8227, allocations: 54.34 kB / 0.7483 GB, free: 8.52 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.8411, allocations: 5.656 MB / 0.7538 GB, free: 3.332 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8411, allocations: 0 / 0.7538 GB, free: 3.332 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.8411, allocations: 7.938 kB / 0.7538 GB, free: 3.324 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001515/0.8426, allocations: 0.7729 MB / 0.7546 GB, free: 2.516 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8427, allocations: 12.03 kB / 0.7546 GB, free: 2.504 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.576e-05/0.8428, allocations: 73.16 kB / 0.7547 GB, free: 2.441 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.8428, allocations: 31.72 kB / 0.7547 GB, free: 2.41 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.8437, allocations: 299.1 kB / 0.755 GB, free: 2.074 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.8437, allocations: 28 kB / 0.755 GB, free: 2.062 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.844, allocations: 47.66 kB / 0.7551 GB, free: 2.027 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.8448, allocations: 442.6 kB / 0.7555 GB, free: 1.688 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8449, allocations: 0 / 0.7555 GB, free: 1.688 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.8449, allocations: 11.81 kB / 0.7555 GB, free: 1.684 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.8449, allocations: 7.953 kB / 0.7555 GB, free: 1.676 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.8455, allocations: 377.4 kB / 0.7559 GB, free: 1.398 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.8483, allocations: 2.172 MB / 0.758 GB, free: 15.09 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.849, allocations: 478.3 kB / 0.7584 GB, free: 14.75 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.849, allocations: 8.375 kB / 0.7584 GB, free: 14.74 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.8491, allocations: 38.62 kB / 0.7585 GB, free: 14.7 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=49): time 1.603e-06/0.8491, allocations: 0 / 0.7585 GB, free: 14.7 MB / 0.5263 GB Notification: Performance of matching and sorting (n=49): time 0.001316/0.8504, allocations: 0.8087 MB / 0.7593 GB, free: 14.08 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.8504, allocations: 59.84 kB / 0.7593 GB, free: 14.01 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.8505, allocations: 124.6 kB / 0.7594 GB, free: 13.89 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.8506, allocations: 41.39 kB / 0.7595 GB, free: 13.85 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.8507, allocations: 120.8 kB / 0.7596 GB, free: 13.74 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.8508, allocations: 203.8 kB / 0.7598 GB, free: 13.56 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.8508, allocations: 11.56 kB / 0.7598 GB, free: 13.56 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.8509, allocations: 344.9 kB / 0.7601 GB, free: 13.23 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.8513, allocations: 274.6 kB / 0.7604 GB, free: 13.04 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.8518, allocations: 331.8 kB / 0.7607 GB, free: 12.78 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.8522, allocations: 319 kB / 0.761 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8522, allocations: 0 / 0.761 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009907/0.8532, allocations: 0.719 MB / 0.7617 GB, free: 12.03 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8532, allocations: 4 kB / 0.7617 GB, free: 12.02 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8533, allocations: 0 / 0.7617 GB, free: 12.02 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8533, allocations: 11.89 kB / 0.7617 GB, free: 12.01 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8543, allocations: 255.6 kB / 0.762 GB, free: 11.77 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.8544, allocations: 8 kB / 0.762 GB, free: 11.76 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.8548, allocations: 58.94 kB / 0.762 GB, free: 11.71 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.8548, allocations: 19.81 kB / 0.7621 GB, free: 11.7 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.855, allocations: 157.4 kB / 0.7622 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.8551, allocations: 19.81 kB / 0.7622 GB, free: 11.53 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.8553, allocations: 83.89 kB / 0.7623 GB, free: 11.52 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8553, allocations: 7.938 kB / 0.7623 GB, free: 11.51 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.8553, allocations: 3.953 kB / 0.7623 GB, free: 11.5 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8554, allocations: 3.938 kB / 0.7623 GB, free: 11.5 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.8559, allocations: 463.1 kB / 0.7628 GB, free: 11.06 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8559, allocations: 0 / 0.7628 GB, free: 11.06 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.8576, allocations: 259.7 kB / 0.763 GB, free: 10.81 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.8576, allocations: 0 / 0.763 GB, free: 10.81 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.8577, allocations: 23.73 kB / 0.763 GB, free: 10.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8577, allocations: 0 / 0.763 GB, free: 10.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8577, allocations: 10.83 kB / 0.763 GB, free: 10.79 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.8591, allocations: 1.006 MB / 0.764 GB, free: 10.01 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.8592, allocations: 108.7 kB / 0.7641 GB, free: 9.887 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.8593, allocations: 15.92 kB / 0.7641 GB, free: 9.875 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.8597, allocations: 27.73 kB / 0.7642 GB, free: 9.855 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.8598, allocations: 40.22 kB / 0.7642 GB, free: 9.82 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.8599, allocations: 15.98 kB / 0.7642 GB, free: 9.805 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.8599, allocations: 96.42 kB / 0.7643 GB, free: 9.719 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.3e-07/0.86, allocations: 0 / 0.7643 GB, free: 9.719 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004151/0.8604, allocations: 154.9 kB / 0.7645 GB, free: 9.582 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.862, allocations: 1.564 MB / 0.766 GB, free: 8.242 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.8634, allocations: 0.6325 MB / 0.7666 GB, free: 7.766 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8635, allocations: 0 / 0.7666 GB, free: 7.766 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.8639, allocations: 319.5 kB / 0.7669 GB, free: 7.539 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.8643, allocations: 55.59 kB / 0.767 GB, free: 7.5 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.8696, allocations: 4.805 MB / 0.7717 GB, free: 3.219 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.8699, allocations: 0.7998 MB / 0.7724 GB, free: 2.395 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0004744/0.8704, allocations: 186.8 kB / 0.7726 GB, free: 2.211 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.8706, allocations: 93.34 kB / 0.7727 GB, free: 2.176 MB / 0.5263 GB Notification: Performance of SimCode: time 5.71e-07/0.8706, allocations: 0 / 0.7727 GB, free: 2.176 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.8908, allocations: 8.301 MB / 0.7808 GB, free: 10.14 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.8911, allocations: 244.9 kB / 0.7811 GB, free: 9.895 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.867, allocations: 2.812 kB / 0.7811 GB, free: 9.895 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat