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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 174.8 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.627/1.627, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.001174/0.001174, allocations: 91.59 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.502/1.502, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.525e-05, allocations: 4 kB / 0.5368 GB, free: 11.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7871, allocations: 82.83 MB / 0.6177 GB, free: 9.301 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.9848, allocations: 125.5 MB / 0.7402 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.985, allocations: 59.78 kB / 0.7403 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01707/1.002, allocations: 5.446 MB / 0.7456 GB, free: 6.141 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.302e-06/1.002, allocations: 0 / 0.7456 GB, free: 6.141 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.633e-05/1.002, allocations: 8 kB / 0.7456 GB, free: 6.133 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001611/1.004, allocations: 0.7601 MB / 0.7463 GB, free: 5.324 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.004, allocations: 8.031 kB / 0.7463 GB, free: 5.316 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.017e-05/1.004, allocations: 70.53 kB / 0.7464 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/1.004, allocations: 35.67 kB / 0.7464 GB, free: 5.203 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/1.005, allocations: 295.1 kB / 0.7467 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/1.005, allocations: 28.55 kB / 0.7468 GB, free: 4.844 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/1.005, allocations: 47.91 kB / 0.7468 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/1.006, allocations: 432.6 kB / 0.7472 GB, free: 4.367 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.006, allocations: 4 kB / 0.7472 GB, free: 4.363 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/1.006, allocations: 12 kB / 0.7472 GB, free: 4.352 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.006, allocations: 11.95 kB / 0.7472 GB, free: 4.34 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/1.006, allocations: 362.1 kB / 0.7476 GB, free: 3.988 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/1.009, allocations: 2.179 MB / 0.7497 GB, free: 1.535 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/1.01, allocations: 468 kB / 0.7502 GB, free: 1.07 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/1.011, allocations: 322 kB / 0.7505 GB, free: 0.7539 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/1.011, allocations: 8.438 kB / 0.7505 GB, free: 0.7461 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.011, allocations: 34.95 kB / 0.7505 GB, free: 0.7031 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/1.011, allocations: 4 kB / 0.7505 GB, free: 0.6992 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.0009951/1.012, allocations: 0.5676 MB / 0.7511 GB, free: 128 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.012, allocations: 59.83 kB / 0.7511 GB, free: 56 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8257/1.837, allocations: 120.5 kB / 0.7512 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.838, allocations: 37.55 kB / 0.7513 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/1.838, allocations: 122 kB / 0.7514 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.838, allocations: 201.8 kB / 0.7516 GB, free: 132 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/1.838, allocations: 12.22 kB / 0.7516 GB, free: 132 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/1.838, allocations: 343.5 kB / 0.7519 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/1.839, allocations: 268.2 kB / 0.7522 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/1.839, allocations: 321.4 kB / 0.7525 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/1.84, allocations: 313.5 kB / 0.7528 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.84, allocations: 0 / 0.7528 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001126/1.841, allocations: 0.7109 MB / 0.7535 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.841, allocations: 9.25 kB / 0.7535 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.841, allocations: 1.672 kB / 0.7535 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.841, allocations: 2.656 kB / 0.7535 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.842, allocations: 257.4 kB / 0.7537 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.842, allocations: 7.547 kB / 0.7537 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/1.842, allocations: 61.92 kB / 0.7538 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/1.842, allocations: 19.91 kB / 0.7538 GB, free: 131.5 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 (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.0001125/1.842, allocations: 131.3 kB / 0.7539 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/1.843, allocations: 27.62 kB / 0.754 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/1.843, allocations: 77.11 kB / 0.754 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/1.843, allocations: 5.141 kB / 0.754 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.843, allocations: 0 / 0.754 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.843, allocations: 7.141 kB / 0.7541 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/1.843, allocations: 465 kB / 0.7545 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.843, allocations: 3.719 kB / 0.7545 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.845, allocations: 258.6 kB / 0.7547 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.845, allocations: 2.125 kB / 0.7547 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/1.845, allocations: 26.2 kB / 0.7548 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.845, allocations: 3.172 kB / 0.7548 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.845, allocations: 0 / 0.7548 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/1.846, allocations: 0.9868 MB / 0.7557 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/1.846, allocations: 96.52 kB / 0.7558 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/1.846, allocations: 17.17 kB / 0.7558 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/1.847, allocations: 39.27 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/1.847, allocations: 29.34 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/1.847, allocations: 11.05 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.35e-05/1.847, allocations: 104.2 kB / 0.756 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.847, allocations: 0.9688 kB / 0.756 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004177/1.847, allocations: 159.7 kB / 0.7562 GB, free: 130.3 MB / 0.5421 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 () * 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.001639/1.849, allocations: 1.544 MB / 0.7577 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.85, allocations: 0.6176 MB / 0.7583 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.85, allocations: 3.938 kB / 0.7583 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005058/1.851, allocations: 314.9 kB / 0.7586 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/1.851, allocations: 59.62 kB / 0.7586 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.854, allocations: 2.519 MB / 0.7611 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/1.855, allocations: 0.8006 MB / 0.7619 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004643/1.855, allocations: 172.1 kB / 0.7621 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/1.855, allocations: 104.2 kB / 0.7622 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of SimCode: time 2.51e-07/1.855, allocations: 0 / 0.7622 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.312/4.168, allocations: 8.208 MB / 0.7702 GB, free: 122.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/4.168, allocations: 214.6 kB / 0.7704 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/6.313, allocations: 0 / 0.7704 GB, free: 122.3 MB / 0.5421 GB (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) 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