Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",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.001222/0.001222, allocations: 95.8 kB / 16.3 MB, free: 5.527 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.001053/0.001053, allocations: 185 kB / 17.2 MB, free: 5.461 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.463/1.463, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.082/1.082, allocations: 120.4 MB / 412.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 12 kB / 0.4956 GB, free: 10.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6601, allocations: 82.85 MB / 0.5765 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001472/0.6617, allocations: 1.112 MB / 0.5775 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000278/0.662, allocations: 94.27 kB / 0.5776 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.662, allocations: 1.375 kB / 0.5776 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.6622, allocations: 13.3 kB / 0.5777 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.6622, allocations: 28.06 kB / 0.5777 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.6624, allocations: 31.97 kB / 0.5777 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.6628, allocations: 354.9 kB / 0.578 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.6628, allocations: 5.5 kB / 0.5781 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.663, allocations: 188.2 kB / 0.5782 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.6633, allocations: 239.7 kB / 0.5785 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.6634, allocations: 30.25 kB / 0.5785 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.6635, allocations: 32.88 kB / 0.5785 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.6637, allocations: 169.5 kB / 0.5787 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.6638, allocations: 78.95 kB / 0.5788 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.664, allocations: 217.1 kB / 0.579 GB, free: 40.47 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.664, allocations: 1 kB / 0.579 GB, free: 40.47 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.545e-06/0.664, allocations: 0 / 0.579 GB, free: 40.47 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.6641, allocations: 3.938 kB / 0.579 GB, free: 40.47 MB / 462.3 MB 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.002225/0.6663, allocations: 0.8288 MB / 0.5798 GB, free: 39.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6663, allocations: 13.22 kB / 0.5798 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.6664, allocations: 65.61 kB / 0.5799 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.6666, allocations: 38.02 kB / 0.5799 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.667, allocations: 253.4 kB / 0.5801 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.6671, allocations: 27.31 kB / 0.5802 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.6672, allocations: 53.25 kB / 0.5802 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.669, allocations: 436.8 kB / 0.5806 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6691, allocations: 0 / 0.5806 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.6691, allocations: 14.53 kB / 0.5806 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.6691, allocations: 10.27 kB / 0.5807 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.6698, allocations: 377.8 kB / 0.581 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.6727, allocations: 2.169 MB / 0.5831 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.6736, allocations: 486.3 kB / 0.5836 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.6737, allocations: 9.469 kB / 0.5836 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6737, allocations: 33.19 kB / 0.5836 GB, free: 36.94 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.6737, allocations: 0 / 0.5836 GB, free: 36.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001509/0.6752, allocations: 0.8186 MB / 0.5844 GB, free: 36.55 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.6753, allocations: 61.12 kB / 0.5845 GB, free: 36.49 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.6754, allocations: 138.7 kB / 0.5846 GB, free: 36.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.6754, allocations: 40.14 kB / 0.5847 GB, free: 36.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.6755, allocations: 121.6 kB / 0.5848 GB, free: 36.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.6756, allocations: 199.9 kB / 0.585 GB, free: 36.03 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.6757, allocations: 14.94 kB / 0.585 GB, free: 36.02 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.6757, allocations: 339.6 kB / 0.5853 GB, free: 35.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.6762, allocations: 281.1 kB / 0.5856 GB, free: 35.56 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.6768, allocations: 326.9 kB / 0.5859 GB, free: 35.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.6773, allocations: 321.7 kB / 0.5862 GB, free: 35.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6773, allocations: 0 / 0.5862 GB, free: 35.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001206/0.6785, allocations: 0.723 MB / 0.5869 GB, free: 34.92 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6785, allocations: 10.25 kB / 0.5869 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6786, allocations: 0 / 0.5869 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.6786, allocations: 7.734 kB / 0.5869 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.6796, allocations: 263.6 kB / 0.5872 GB, free: 34.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6797, allocations: 0 / 0.5872 GB, free: 34.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.6801, allocations: 63.5 kB / 0.5872 GB, free: 34.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.6802, allocations: 20 kB / 0.5872 GB, free: 34.6 MB / 462.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 (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.0002007/0.6804, allocations: 165.7 kB / 0.5874 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.6804, allocations: 19.81 kB / 0.5874 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.6806, allocations: 78.28 kB / 0.5875 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.6807, allocations: 4 kB / 0.5875 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.6807, allocations: 3.953 kB / 0.5875 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6807, allocations: 3.984 kB / 0.5875 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.6813, allocations: 469.3 kB / 0.588 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6813, allocations: 0 / 0.588 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.6825, allocations: 251.8 kB / 0.5882 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6825, allocations: 4 kB / 0.5882 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.6825, allocations: 27.97 kB / 0.5882 GB, free: 33.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6826, allocations: 0 / 0.5882 GB, free: 33.54 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6826, allocations: 7.953 kB / 0.5882 GB, free: 33.53 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6838, allocations: 1.005 MB / 0.5892 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.6839, allocations: 104.7 kB / 0.5893 GB, free: 32.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.684, allocations: 23.98 kB / 0.5893 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.6844, allocations: 23.97 kB / 0.5894 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6845, allocations: 36.34 kB / 0.5894 GB, free: 32.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.6845, allocations: 15.94 kB / 0.5894 GB, free: 32.29 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.6846, allocations: 97.8 kB / 0.5895 GB, free: 32.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6846, allocations: 0 / 0.5895 GB, free: 32.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000428/0.685, allocations: 155.8 kB / 0.5897 GB, free: 32.04 MB / 462.3 MB 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.00143/0.6864, allocations: 1.566 MB / 0.5912 GB, free: 30.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008973/0.6874, allocations: 0.6348 MB / 0.5918 GB, free: 29.81 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6874, allocations: 0 / 0.5918 GB, free: 29.81 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.6878, allocations: 318.3 kB / 0.5921 GB, free: 29.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.6882, allocations: 71.88 kB / 0.5922 GB, free: 29.43 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.6933, allocations: 4.736 MB / 0.5968 GB, free: 24.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.6937, allocations: 0.8037 MB / 0.5976 GB, free: 23.8 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005707/0.6943, allocations: 174.8 kB / 0.5978 GB, free: 23.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.6945, allocations: 91.41 kB / 0.5978 GB, free: 23.55 MB / 462.3 MB Notification: Performance of SimCode: time 1.623e-06/0.6945, allocations: 0 / 0.5978 GB, free: 23.55 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.7146, allocations: 8.29 MB / 0.6059 GB, free: 15.52 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.7149, allocations: 230 kB / 0.6062 GB, free: 15.28 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.815, allocations: 0 / 0.6062 GB, free: 15.28 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat