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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001116/0.001116, allocations: 79.56 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.632/1.632, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.596e-05, allocations: 4 kB / 0.5296 GB, free: 436 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7899, allocations: 82.84 MB / 0.6105 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.9899, allocations: 124.9 MB / 0.7325 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.9902, allocations: 47.98 kB / 0.7325 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03679/1.027, allocations: 10.74 MB / 0.743 GB, free: 5.121 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.374e-06/1.027, allocations: 0 / 0.743 GB, free: 5.121 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.798e-05/1.027, allocations: 16 kB / 0.743 GB, free: 5.105 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.003951/1.031, allocations: 1.35 MB / 0.7443 GB, free: 3.711 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.031, allocations: 12.03 kB / 0.7443 GB, free: 3.699 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/1.032, allocations: 63.39 kB / 0.7444 GB, free: 3.637 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.033, allocations: 417.8 kB / 0.7448 GB, free: 3.191 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/1.033, allocations: 16 kB / 0.7448 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/1.033, allocations: 75.8 kB / 0.7449 GB, free: 3.102 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001369/1.035, allocations: 0.7209 MB / 0.7456 GB, free: 2.379 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.036, allocations: 0.7845 MB / 0.7464 GB, free: 1.59 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.036, allocations: 4 kB / 0.7464 GB, free: 1.586 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/1.036, allocations: 0 / 0.7464 GB, free: 1.586 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/1.036, allocations: 19.95 kB / 0.7464 GB, free: 1.566 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8613/1.898, allocations: 4.226 MB / 0.7505 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/1.899, allocations: 0.9309 MB / 0.7514 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/1.9, allocations: 0.6143 MB / 0.752 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.901, allocations: 11.91 kB / 0.752 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.901, allocations: 43.77 kB / 0.7521 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 2.545e-06/1.901, allocations: 0 / 0.7521 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002268/1.903, allocations: 1.107 MB / 0.7532 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/1.903, allocations: 63.09 kB / 0.7532 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.903, allocations: 138.5 kB / 0.7533 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/1.903, allocations: 26.67 kB / 0.7534 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/1.903, allocations: 148.2 kB / 0.7535 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/1.904, allocations: 401.7 kB / 0.7539 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/1.904, allocations: 0 / 0.7539 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.904, allocations: 367.1 kB / 0.7542 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/1.905, allocations: 0.5262 MB / 0.7548 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009797/1.906, allocations: 0.6052 MB / 0.7553 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/1.907, allocations: 0.6186 MB / 0.756 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.907, allocations: 1.25 kB / 0.756 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00286/1.91, allocations: 1.341 MB / 0.7573 GB, free: 128 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.91, allocations: 4.5 kB / 0.7573 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.91, allocations: 1.156 kB / 0.7573 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.91, allocations: 9.641 kB / 0.7573 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.912, allocations: 0.5243 MB / 0.7578 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.912, allocations: 5.969 kB / 0.7578 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/1.913, allocations: 105 kB / 0.7579 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/1.913, allocations: 39.69 kB / 0.7579 GB, free: 127.9 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.0002121/1.913, allocations: 117.9 kB / 0.758 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001465/1.915, allocations: 1.095 MB / 0.7591 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.915, allocations: 46.42 kB / 0.7592 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/1.915, allocations: 135.9 kB / 0.7593 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.915, allocations: 17.31 kB / 0.7593 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.915, allocations: 0 / 0.7593 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.915, allocations: 3.797 kB / 0.7593 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/1.916, allocations: 0.7103 MB / 0.76 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.916, allocations: 0 / 0.76 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.919, allocations: 0.5242 MB / 0.7605 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.919, allocations: 3.594 kB / 0.7605 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.817e-05/1.919, allocations: 37 kB / 0.7606 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.919, allocations: 3.688 kB / 0.7606 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.919, allocations: 0 / 0.7606 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.921, allocations: 1.871 MB / 0.7624 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/1.921, allocations: 124.5 kB / 0.7625 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.921, allocations: 23.83 kB / 0.7625 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/1.922, allocations: 53.77 kB / 0.7626 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.922, allocations: 57.27 kB / 0.7626 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/1.922, allocations: 24.38 kB / 0.7627 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.447e-05/1.922, allocations: 106.2 kB / 0.7628 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.283e-06/1.922, allocations: 0 / 0.7628 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006114/1.923, allocations: 280.6 kB / 0.763 GB, free: 126.1 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.002405/1.925, allocations: 2.445 MB / 0.7654 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001485/1.927, allocations: 1.247 MB / 0.7666 GB, free: 123 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.927, allocations: 3.969 kB / 0.7666 GB, free: 123 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/1.928, allocations: 0.6177 MB / 0.7672 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/1.928, allocations: 108.6 kB / 0.7673 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/1.934, allocations: 5.258 MB / 0.7725 GB, free: 117.9 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.934, allocations: 0.9233 MB / 0.7734 GB, free: 117 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001022/1.935, allocations: 396.7 kB / 0.7738 GB, free: 116.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/1.936, allocations: 186.2 kB / 0.7739 GB, free: 116.6 MB / 0.5421 GB Notification: Performance of SimCode: time 7.41e-07/1.936, allocations: 0 / 0.7739 GB, free: 116.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04668/1.983, allocations: 15.26 MB / 0.7888 GB, free: 102.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.983, allocations: 205 kB / 0.789 GB, free: 102.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/4.488, allocations: 0 / 0.789 GB, free: 102.1 MB / 0.5421 GB (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) 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