Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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/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 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(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",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.001087/0.001087, allocations: 93.52 kB / 16.3 MB, free: 5.656 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.001316/0.001316, allocations: 188.2 kB / 17.2 MB, free: 5.594 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.52/1.52, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.086/1.086, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003815, allocations: 8 kB / 0.4955 GB, free: 9.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 82.85 MB / 0.5765 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001651/0.2193, allocations: 1.131 MB / 0.5776 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.2196, allocations: 103.7 kB / 0.5777 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.2196, allocations: 0 / 0.5777 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2198, allocations: 7.984 kB / 0.5777 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.2198, allocations: 31.88 kB / 0.5777 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.22, allocations: 31.88 kB / 0.5777 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008197/0.2209, allocations: 0.7526 MB / 0.5785 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.2209, allocations: 8 kB / 0.5785 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.2214, allocations: 455.3 kB / 0.5789 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.2221, allocations: 499.2 kB / 0.5794 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.2223, allocations: 64 kB / 0.5794 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2224, allocations: 60 kB / 0.5795 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.2228, allocations: 335.3 kB / 0.5798 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.223, allocations: 129.5 kB / 0.5799 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.2235, allocations: 443.2 kB / 0.5804 GB, free: 2.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2235, allocations: 0 / 0.5804 GB, free: 2.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.649e-06/0.2235, allocations: 0 / 0.5804 GB, free: 2.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2235, allocations: 4 kB / 0.5804 GB, free: 2.676 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004584/0.2281, allocations: 1.497 MB / 0.5818 GB, free: 1.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2282, allocations: 8.031 kB / 0.5818 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.2284, allocations: 106.5 kB / 0.5819 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.2285, allocations: 63.39 kB / 0.582 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/0.2293, allocations: 354.2 kB / 0.5823 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.2293, allocations: 53.31 kB / 0.5824 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.2295, allocations: 99.81 kB / 0.5825 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5886/0.8181, allocations: 0.8655 MB / 0.5833 GB, free: 15.8 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.8182, allocations: 0.6562 kB / 0.5833 GB, free: 15.8 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.8184, allocations: 22.31 kB / 0.5833 GB, free: 15.8 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.8184, allocations: 16.2 kB / 0.5834 GB, free: 15.8 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.8203, allocations: 0.773 MB / 0.5841 GB, free: 15.8 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007266/0.8276, allocations: 4.363 MB / 0.5884 GB, free: 13.05 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.8295, allocations: 0.9657 MB / 0.5893 GB, free: 12.85 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.796e-05/0.8297, allocations: 17.75 kB / 0.5893 GB, free: 12.84 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.8297, allocations: 45.59 kB / 0.5894 GB, free: 12.8 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 2.805e-06/0.8297, allocations: 0 / 0.5894 GB, free: 12.8 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003368/0.8331, allocations: 1.654 MB / 0.591 GB, free: 12.3 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.8332, allocations: 61.31 kB / 0.5911 GB, free: 12.24 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.8333, allocations: 145.4 kB / 0.5912 GB, free: 12.13 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/0.8335, allocations: 53.45 kB / 0.5912 GB, free: 12.08 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.8336, allocations: 152.6 kB / 0.5914 GB, free: 11.95 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.8339, allocations: 418.6 kB / 0.5918 GB, free: 11.63 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.834, allocations: 25.03 kB / 0.5918 GB, free: 11.61 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8341, allocations: 366.6 kB / 0.5922 GB, free: 11.28 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.8354, allocations: 0.5656 MB / 0.5927 GB, free: 11.12 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.8376, allocations: 0.6548 MB / 0.5934 GB, free: 10.92 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.839, allocations: 0.6515 MB / 0.594 GB, free: 10.7 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.839, allocations: 0 / 0.594 GB, free: 10.7 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00273/0.8417, allocations: 1.461 MB / 0.5954 GB, free: 10.21 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.8418, allocations: 15.42 kB / 0.5954 GB, free: 10.21 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8418, allocations: 1.312 kB / 0.5954 GB, free: 10.21 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.8418, allocations: 5.344 kB / 0.5954 GB, free: 10.21 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.8442, allocations: 0.5244 MB / 0.596 GB, free: 10.19 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.8443, allocations: 5.812 kB / 0.596 GB, free: 10.19 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.8452, allocations: 122.1 kB / 0.5961 GB, free: 10.12 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.8453, allocations: 38.47 kB / 0.5961 GB, free: 10.11 MB / 446.3 MB 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 (157): * Single equations (assignments): 157 * 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.0004252/0.8458, allocations: 215.9 kB / 0.5963 GB, free: 9.953 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.8459, allocations: 41.53 kB / 0.5964 GB, free: 9.934 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.8463, allocations: 154.2 kB / 0.5965 GB, free: 9.789 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.8463, allocations: 12.16 kB / 0.5965 GB, free: 9.789 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/0.8464, allocations: 1.375 kB / 0.5965 GB, free: 9.789 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.8464, allocations: 5.25 kB / 0.5965 GB, free: 9.789 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.8477, allocations: 0.7951 MB / 0.5973 GB, free: 9.43 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8477, allocations: 0 / 0.5973 GB, free: 9.43 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/0.8505, allocations: 0.53 MB / 0.5978 GB, free: 9.406 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/0.8505, allocations: 7.625 kB / 0.5978 GB, free: 9.402 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.8507, allocations: 46.75 kB / 0.5979 GB, free: 9.387 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.8508, allocations: 5.719 kB / 0.5979 GB, free: 9.387 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.8508, allocations: 4.844 kB / 0.5979 GB, free: 9.383 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.8542, allocations: 1.968 MB / 0.5998 GB, free: 8.645 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.8544, allocations: 119.3 kB / 0.5999 GB, free: 8.523 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.8545, allocations: 38.05 kB / 0.5999 GB, free: 8.512 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008383/0.8554, allocations: 72.98 kB / 0.6 GB, free: 8.477 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.8556, allocations: 62.59 kB / 0.6001 GB, free: 8.465 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.8557, allocations: 24.47 kB / 0.6001 GB, free: 8.461 MB / 446.3 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.8558, allocations: 99.48 kB / 0.6002 GB, free: 8.379 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.8e-07/0.8558, allocations: 0 / 0.6002 GB, free: 8.379 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.001445/0.8573, allocations: 309 kB / 0.6005 GB, free: 8.34 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.00389/0.8612, allocations: 2.559 MB / 0.603 GB, free: 7.043 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.003573/0.8648, allocations: 1.321 MB / 0.6043 GB, free: 6.672 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8648, allocations: 0 / 0.6043 GB, free: 6.672 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.866, allocations: 0.6493 MB / 0.6049 GB, free: 6.465 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.8666, allocations: 122.2 kB / 0.605 GB, free: 6.422 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.8791, allocations: 9.493 MB / 0.6143 GB, free: 196 kB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.8798, allocations: 0.9229 MB / 0.6152 GB, free: 15.39 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001289/0.8811, allocations: 391.7 kB / 0.6156 GB, free: 15.23 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.8816, allocations: 189.1 kB / 0.6158 GB, free: 15.09 MB / 462.3 MB Notification: Performance of SimCode: time 2.365e-06/0.8816, allocations: 0 / 0.6158 GB, free: 15.09 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.9168, allocations: 16.01 MB / 0.6314 GB, free: 136 kB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009003/0.9178, allocations: 246.6 kB / 0.6316 GB, free: 15.89 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.349, allocations: 3.938 kB / 0.6316 GB, free: 15.88 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat