Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",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.001691/0.001691, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.62/1.62, allocations: 221.3 MB / 235.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 98.28 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.554/1.554, allocations: 120.5 MB / 457.8 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.045e-05, allocations: 0 / 0.5368 GB, free: 11.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8125, allocations: 82.83 MB / 0.6177 GB, free: 9.293 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/1.013, allocations: 125.5 MB / 0.7402 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/1.013, allocations: 51.84 kB / 0.7403 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03386/1.047, allocations: 10.35 MB / 0.7504 GB, free: 1.211 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.382e-06/1.047, allocations: 3.938 kB / 0.7504 GB, free: 1.207 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.878e-05/1.047, allocations: 12 kB / 0.7504 GB, free: 1.195 MB / 0.5419 GB 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.8383/1.886, allocations: 1.35 MB / 0.7517 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.886, allocations: 11.16 kB / 0.7517 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003912/1.886, allocations: 98.81 kB / 0.7518 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/1.886, allocations: 65.47 kB / 0.7519 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.887, allocations: 420.2 kB / 0.7523 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/1.887, allocations: 54.41 kB / 0.7523 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/1.888, allocations: 99.58 kB / 0.7524 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.889, allocations: 0.8587 MB / 0.7533 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.889, allocations: 0.75 kB / 0.7533 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/1.889, allocations: 23.16 kB / 0.7533 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/1.889, allocations: 17.73 kB / 0.7533 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.891, allocations: 0.7473 MB / 0.754 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/1.896, allocations: 4.357 MB / 0.7583 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.898, allocations: 0.968 MB / 0.7592 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008816/1.899, allocations: 0.6549 MB / 0.7599 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/1.899, allocations: 10.69 kB / 0.7599 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/1.899, allocations: 44.03 kB / 0.7599 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 2.104e-06/1.899, allocations: 0 / 0.7599 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002027/1.901, allocations: 1.166 MB / 0.7611 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.901, allocations: 65.92 kB / 0.7611 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/1.901, allocations: 127.9 kB / 0.7613 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/1.901, allocations: 51.2 kB / 0.7613 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/1.901, allocations: 158.6 kB / 0.7615 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.901, allocations: 414.2 kB / 0.7618 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/1.901, allocations: 32.72 kB / 0.7619 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/1.902, allocations: 366.7 kB / 0.7622 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008503/1.902, allocations: 0.5511 MB / 0.7628 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/1.903, allocations: 0.6435 MB / 0.7634 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/1.904, allocations: 0.6428 MB / 0.764 GB, free: 123 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.904, allocations: 0 / 0.764 GB, free: 123 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001795/1.906, allocations: 1.435 MB / 0.7654 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.906, allocations: 7.812 kB / 0.7654 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.906, allocations: 0 / 0.7654 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.906, allocations: 7.75 kB / 0.7654 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/1.908, allocations: 0.528 MB / 0.766 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.908, allocations: 3.906 kB / 0.766 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/1.909, allocations: 127.2 kB / 0.7661 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/1.909, allocations: 37.47 kB / 0.7661 GB, free: 122.4 MB / 0.5421 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 () * 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.0001628/1.909, allocations: 161.2 kB / 0.7663 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.909, allocations: 42.28 kB / 0.7663 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/1.909, allocations: 151.7 kB / 0.7665 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.909, allocations: 7.188 kB / 0.7665 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.909, allocations: 0 / 0.7665 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.909, allocations: 10.95 kB / 0.7665 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/1.91, allocations: 0.7988 MB / 0.7673 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.91, allocations: 0 / 0.7673 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.913, allocations: 0.5256 MB / 0.7678 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.913, allocations: 7.844 kB / 0.7678 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/1.913, allocations: 42.14 kB / 0.7678 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.913, allocations: 3.906 kB / 0.7678 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.913, allocations: 0 / 0.7678 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.915, allocations: 1.936 MB / 0.7697 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/1.915, allocations: 128.4 kB / 0.7698 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.915, allocations: 39.39 kB / 0.7699 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/1.916, allocations: 66.62 kB / 0.7699 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.916, allocations: 63.09 kB / 0.77 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/1.916, allocations: 21.08 kB / 0.77 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.544e-05/1.916, allocations: 105.4 kB / 0.7701 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.5e-07/1.916, allocations: 0 / 0.7701 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000497/1.917, allocations: 311.8 kB / 0.7704 GB, free: 119.9 MB / 0.5421 GB 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 () * 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.002466/1.919, allocations: 2.527 MB / 0.7729 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001544/1.921, allocations: 1.305 MB / 0.7741 GB, free: 116.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.921, allocations: 0 / 0.7741 GB, free: 116.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007279/1.922, allocations: 0.6418 MB / 0.7748 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/1.922, allocations: 120.7 kB / 0.7749 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/1.927, allocations: 5.31 MB / 0.7801 GB, free: 111.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/1.927, allocations: 0.9301 MB / 0.781 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0009063/1.928, allocations: 388.1 kB / 0.7814 GB, free: 110 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/1.929, allocations: 188 kB / 0.7815 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of SimCode: time 3.21e-07/1.929, allocations: 0 / 0.7815 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.409/5.338, allocations: 15.86 MB / 0.797 GB, free: 94.51 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/5.338, allocations: 204.9 kB / 0.7972 GB, free: 94.29 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/7.511, allocations: 0 / 0.7972 GB, free: 94.29 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat