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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 92.59 kB / 16.3 MB, free: 5.996 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.001015/0.001015, allocations: 183.8 kB / 17.2 MB, free: 5.914 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.503/1.503, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9883/0.9883, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 8 kB / 0.4955 GB, free: 8.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 82.85 MB / 0.5765 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002047/0.1968, allocations: 1.127 MB / 0.5776 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.1971, allocations: 99.7 kB / 0.5777 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1971, allocations: 0 / 0.5777 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1973, allocations: 15.92 kB / 0.5777 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.1973, allocations: 31.86 kB / 0.5777 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.1975, allocations: 31.89 kB / 0.5777 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.1981, allocations: 0.6746 MB / 0.5784 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1982, allocations: 8 kB / 0.5784 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.1985, allocations: 375.6 kB / 0.5788 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.1991, allocations: 491.1 kB / 0.5792 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.1992, allocations: 64 kB / 0.5793 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1993, allocations: 60 kB / 0.5793 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.1996, allocations: 339.3 kB / 0.5797 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1998, allocations: 125.5 kB / 0.5798 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.2001, allocations: 443.2 kB / 0.5802 GB, free: 1.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.2001, allocations: 0 / 0.5802 GB, free: 1.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2001, allocations: 0 / 0.5802 GB, free: 1.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2001, allocations: 4 kB / 0.5802 GB, free: 1.734 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.004276/0.2044, allocations: 1.499 MB / 0.5817 GB, free: 188 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2045, allocations: 8.031 kB / 0.5817 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.2046, allocations: 106.5 kB / 0.5818 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.2048, allocations: 63.39 kB / 0.5818 GB, free: 0 / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5536/0.7583, allocations: 341 kB / 0.5822 GB, free: 15.77 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.7585, allocations: 53.61 kB / 0.5822 GB, free: 15.77 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.7588, allocations: 102.5 kB / 0.5823 GB, free: 15.77 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.7606, allocations: 0.8752 MB / 0.5832 GB, free: 15.72 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7606, allocations: 0 / 0.5832 GB, free: 15.72 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.7607, allocations: 21.77 kB / 0.5832 GB, free: 15.72 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.7607, allocations: 14.25 kB / 0.5832 GB, free: 15.72 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.7621, allocations: 0.7695 MB / 0.584 GB, free: 15.71 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007259/0.7694, allocations: 4.361 MB / 0.5882 GB, free: 12.9 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.7718, allocations: 0.982 MB / 0.5892 GB, free: 12.54 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/0.7719, allocations: 11.12 kB / 0.5892 GB, free: 12.54 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.772, allocations: 44.09 kB / 0.5892 GB, free: 12.5 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 3.557e-06/0.772, allocations: 3.5 kB / 0.5892 GB, free: 12.5 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003279/0.7752, allocations: 1.667 MB / 0.5909 GB, free: 11.98 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.7753, allocations: 62.59 kB / 0.5909 GB, free: 11.92 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.7755, allocations: 148.9 kB / 0.5911 GB, free: 11.8 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.7756, allocations: 50.11 kB / 0.5911 GB, free: 11.75 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.7757, allocations: 148.3 kB / 0.5912 GB, free: 11.62 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.776, allocations: 418 kB / 0.5916 GB, free: 11.31 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.7761, allocations: 25.19 kB / 0.5917 GB, free: 11.29 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7762, allocations: 367.8 kB / 0.592 GB, free: 10.95 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.7773, allocations: 0.578 MB / 0.5926 GB, free: 10.79 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.7783, allocations: 0.6548 MB / 0.5932 GB, free: 10.59 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.7795, allocations: 0.6568 MB / 0.5939 GB, free: 10.36 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7795, allocations: 1.219 kB / 0.5939 GB, free: 10.36 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002344/0.7819, allocations: 1.459 MB / 0.5953 GB, free: 9.883 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.7819, allocations: 10.38 kB / 0.5953 GB, free: 9.879 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7819, allocations: 5.641 kB / 0.5953 GB, free: 9.879 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.7819, allocations: 6.109 kB / 0.5953 GB, free: 9.879 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.7843, allocations: 0.5198 MB / 0.5958 GB, free: 9.859 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.7843, allocations: 6.203 kB / 0.5958 GB, free: 9.859 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/0.7852, allocations: 129.3 kB / 0.596 GB, free: 9.789 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.7853, allocations: 38.08 kB / 0.596 GB, free: 9.777 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.0003717/0.7857, allocations: 221.5 kB / 0.5962 GB, free: 9.613 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.7858, allocations: 42.28 kB / 0.5962 GB, free: 9.598 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.7861, allocations: 145.3 kB / 0.5964 GB, free: 9.461 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.7862, allocations: 9.906 kB / 0.5964 GB, free: 9.461 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.7862, allocations: 1.078 kB / 0.5964 GB, free: 9.461 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.7862, allocations: 4.594 kB / 0.5964 GB, free: 9.461 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.7874, allocations: 0.8035 MB / 0.5972 GB, free: 9.102 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7874, allocations: 4.078 kB / 0.5972 GB, free: 9.102 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002962/0.7904, allocations: 0.5318 MB / 0.5977 GB, free: 9.074 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.7904, allocations: 7.531 kB / 0.5977 GB, free: 9.07 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.7906, allocations: 43.77 kB / 0.5977 GB, free: 9.055 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.7906, allocations: 3.094 kB / 0.5978 GB, free: 9.055 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7906, allocations: 8.672 kB / 0.5978 GB, free: 9.051 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.795, allocations: 1.965 MB / 0.5997 GB, free: 8.309 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.7951, allocations: 126.6 kB / 0.5998 GB, free: 8.18 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.7953, allocations: 43.03 kB / 0.5998 GB, free: 8.164 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008172/0.7961, allocations: 64.45 kB / 0.5999 GB, free: 8.137 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.7963, allocations: 59.14 kB / 0.6 GB, free: 8.129 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.7964, allocations: 24.11 kB / 0.6 GB, free: 8.125 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.355e-05/0.7965, allocations: 98.7 kB / 0.6001 GB, free: 8.043 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7965, allocations: 0.9062 kB / 0.6001 GB, free: 8.043 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0008926/0.7974, allocations: 316.7 kB / 0.6004 GB, free: 7.996 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.003319/0.8007, allocations: 2.562 MB / 0.6029 GB, free: 6.699 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.8033, allocations: 1.332 MB / 0.6042 GB, free: 6.32 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8033, allocations: 0 / 0.6042 GB, free: 6.32 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.8044, allocations: 0.6597 MB / 0.6048 GB, free: 6.031 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.805, allocations: 122.4 kB / 0.6049 GB, free: 5.965 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.8172, allocations: 9.434 MB / 0.6142 GB, free: 15.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.8188, allocations: 0.9262 MB / 0.6151 GB, free: 14.92 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001415/0.8202, allocations: 394.9 kB / 0.6154 GB, free: 14.75 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.8207, allocations: 188.6 kB / 0.6156 GB, free: 14.61 MB / 462.3 MB Notification: Performance of SimCode: time 2.254e-06/0.8208, allocations: 1.375 kB / 0.6156 GB, free: 14.61 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.8566, allocations: 16 MB / 0.6312 GB, free: 15.24 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/0.8569, allocations: 239.4 kB / 0.6315 GB, free: 15 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.17, allocations: 0 / 0.6315 GB, free: 15 MB / 478.3 MB (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) Environment - environmentSimulation: 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