Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.000828, allocations: 82.66 kB / 267.9 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.825e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09315, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6597/0.7529, allocations: 188.6 MB / 0.5456 GB, free: 110.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.7531, allocations: 101.5 kB / 0.5457 GB, free: 110.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6082/1.361, allocations: 200 MB / 0.741 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.361, allocations: 0 / 0.741 GB, free: 106 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/1.361, allocations: 10.28 kB / 0.741 GB, free: 106 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002666/1.364, allocations: 1.001 MB / 0.742 GB, free: 105.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.364, allocations: 12.28 kB / 0.742 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/1.364, allocations: 71.36 kB / 0.7421 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/1.365, allocations: 45.47 kB / 0.7421 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/1.365, allocations: 297.4 kB / 0.7424 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/1.365, allocations: 17.81 kB / 0.7424 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/1.365, allocations: 24.88 kB / 0.7424 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/1.366, allocations: 319.7 kB / 0.7427 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/1.366, allocations: 7.688 kB / 0.7427 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/1.366, allocations: 13.88 kB / 0.7428 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.366, allocations: 11.64 kB / 0.7428 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/1.366, allocations: 187 kB / 0.743 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/1.368, allocations: 2.064 MB / 0.745 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/1.368, allocations: 182.1 kB / 0.7451 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/1.368, allocations: 82.34 kB / 0.7452 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/1.368, allocations: 250.2 kB / 0.7455 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/1.368, allocations: 41.25 kB / 0.7455 GB, free: 102.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/1.368, allocations: 2.969 kB / 0.7455 GB, free: 102.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002167/1.37, allocations: 0.896 MB / 0.7464 GB, free: 102.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.37, allocations: 55.28 kB / 0.7464 GB, free: 102.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/1.371, allocations: 237.7 kB / 0.7467 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.371, allocations: 32.33 kB / 0.7467 GB, free: 102.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/1.371, allocations: 182.5 kB / 0.7469 GB, free: 102.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/1.371, allocations: 102.9 kB / 0.747 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/1.371, allocations: 6.875 kB / 0.747 GB, free: 102.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/1.371, allocations: 339.5 kB / 0.7473 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.371, allocations: 81.44 kB / 0.7474 GB, free: 101.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/1.371, allocations: 172.8 kB / 0.7475 GB, free: 101.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/1.371, allocations: 105.3 kB / 0.7476 GB, free: 101.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.371, allocations: 7.906 kB / 0.7476 GB, free: 101.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005116/1.372, allocations: 370.6 kB / 0.748 GB, free: 101.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.372, allocations: 6.375 kB / 0.748 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.372, allocations: 2.562 kB / 0.748 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/1.372, allocations: 98.19 kB / 0.7481 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/1.373, allocations: 68.75 kB / 0.7482 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004035/1.373, allocations: 0.648 MB / 0.7488 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/1.373, allocations: 22.38 kB / 0.7488 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.373, allocations: 18.66 kB / 0.7488 GB, free: 101.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.373, allocations: 128 kB / 0.749 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/1.373, allocations: 30.53 kB / 0.749 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/1.374, allocations: 390.4 kB / 0.7494 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.374, allocations: 3.797 kB / 0.7494 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.374, allocations: 6.891 kB / 0.7494 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000498/1.375, allocations: 0.5688 MB / 0.7499 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/1.375, allocations: 0.7313 MB / 0.7506 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.375, allocations: 0 / 0.7506 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.376, allocations: 32.41 kB / 0.7507 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/1.376, allocations: 104.8 kB / 0.7508 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/1.376, allocations: 15.48 kB / 0.7508 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003496/1.376, allocations: 0.6333 MB / 0.7514 GB, free: 99.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.376, allocations: 0 / 0.7514 GB, free: 99.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/1.377, allocations: 0.4983 MB / 0.7519 GB, free: 99.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/1.377, allocations: 110.2 kB / 0.752 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/1.377, allocations: 10.55 kB / 0.752 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.377, allocations: 14.97 kB / 0.752 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/1.377, allocations: 16.41 kB / 0.752 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.377, allocations: 14.33 kB / 0.752 GB, free: 99.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001601/1.378, allocations: 196 kB / 0.7522 GB, free: 99.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.378, allocations: 0 / 0.7522 GB, free: 99.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006507/1.378, allocations: 163.4 kB / 0.7524 GB, free: 99.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/1.379, allocations: 1.304 MB / 0.7537 GB, free: 98.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004433/1.38, allocations: 235.6 kB / 0.7539 GB, free: 98.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.38, allocations: 0 / 0.7539 GB, free: 98.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/1.38, allocations: 125.6 kB / 0.754 GB, free: 98.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/1.381, allocations: 154.4 kB / 0.7542 GB, free: 98.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/1.382, allocations: 0.5181 MB / 0.7547 GB, free: 97.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/1.382, allocations: 0.7688 MB / 0.7554 GB, free: 97.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002632/1.382, allocations: 67.08 kB / 0.7555 GB, free: 97.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/1.383, allocations: 104 kB / 0.7556 GB, free: 97.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.986e-06/1.383, allocations: 3.938 kB / 0.7556 GB, free: 97.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/1.409, allocations: 10.66 MB / 0.766 GB, free: 94.47 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.409, allocations: 207.4 kB / 0.7662 GB, free: 94.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/3.463, allocations: 0 / 0.7662 GB, free: 94.24 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat