Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001527/0.001526, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001195/0.001194, allocations: 89.61 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4249, allocations: 47.57 MB / 374.6 MB, free: 45.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5501/0.9751, allocations: 188.7 MB / 0.5501 GB, free: 50.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/0.9756, allocations: 108 kB / 0.5502 GB, free: 50.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059/2.034, allocations: 200.5 MB / 0.746 GB, free: 75.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/2.034, allocations: 0 / 0.746 GB, free: 75.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.769e-05/2.034, allocations: 12 kB / 0.746 GB, free: 75.44 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.002752/2.037, allocations: 1.028 MB / 0.747 GB, free: 74.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.037, allocations: 8.031 kB / 0.747 GB, free: 74.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/2.037, allocations: 70.53 kB / 0.7471 GB, free: 74.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005116/2.038, allocations: 47.61 kB / 0.7472 GB, free: 74.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/2.038, allocations: 300.7 kB / 0.7474 GB, free: 73.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/2.039, allocations: 16.56 kB / 0.7475 GB, free: 73.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/2.039, allocations: 24 kB / 0.7475 GB, free: 73.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/2.039, allocations: 334.2 kB / 0.7478 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/2.039, allocations: 0 / 0.7478 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/2.039, allocations: 12 kB / 0.7478 GB, free: 73.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/2.039, allocations: 8 kB / 0.7478 GB, free: 73.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/2.04, allocations: 193.4 kB / 0.748 GB, free: 73.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/2.043, allocations: 2.066 MB / 0.75 GB, free: 71.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/2.043, allocations: 186.5 kB / 0.7502 GB, free: 70.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/2.043, allocations: 255.5 kB / 0.7504 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/2.043, allocations: 34.56 kB / 0.7505 GB, free: 70.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.815e-06/2.043, allocations: 3.938 kB / 0.7505 GB, free: 70.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003758/2.047, allocations: 1.019 MB / 0.7515 GB, free: 69.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/2.047, allocations: 55.41 kB / 0.7515 GB, free: 69.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/2.048, allocations: 237.7 kB / 0.7518 GB, free: 69.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/2.048, allocations: 29.7 kB / 0.7518 GB, free: 69.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/2.048, allocations: 242.6 kB / 0.752 GB, free: 68.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/2.048, allocations: 102.5 kB / 0.7521 GB, free: 68.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/2.048, allocations: 8 kB / 0.7521 GB, free: 68.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/2.048, allocations: 330.8 kB / 0.7524 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/2.048, allocations: 84.72 kB / 0.7525 GB, free: 68.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/2.048, allocations: 178.7 kB / 0.7527 GB, free: 68.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/2.049, allocations: 100.6 kB / 0.7528 GB, free: 67.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/2.049, allocations: 8 kB / 0.7528 GB, free: 67.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008411/2.05, allocations: 365.6 kB / 0.7531 GB, free: 67.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/2.05, allocations: 8 kB / 0.7531 GB, free: 67.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/2.05, allocations: 0 / 0.7531 GB, free: 67.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/2.05, allocations: 105 kB / 0.7532 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/2.051, allocations: 63.91 kB / 0.7533 GB, free: 67.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006114/2.051, allocations: 0.6461 MB / 0.7539 GB, free: 66.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/2.052, allocations: 23.89 kB / 0.754 GB, free: 66.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/2.052, allocations: 16.06 kB / 0.754 GB, free: 66.71 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 () * Number of clocked 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 0.0002499/2.052, allocations: 164.1 kB / 0.7541 GB, free: 66.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/2.052, allocations: 31.66 kB / 0.7542 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/2.053, allocations: 370.4 kB / 0.7545 GB, free: 66.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/2.053, allocations: 0 / 0.7545 GB, free: 66.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/2.053, allocations: 11.95 kB / 0.7545 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007714/2.054, allocations: 0.5748 MB / 0.7551 GB, free: 65.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/2.056, allocations: 0.7352 MB / 0.7558 GB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/2.056, allocations: 4.062 kB / 0.7558 GB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/2.056, allocations: 35.92 kB / 0.7558 GB, free: 64.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007308/2.057, allocations: 104.7 kB / 0.7559 GB, free: 64.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/2.057, allocations: 8 kB / 0.756 GB, free: 64.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005627/2.057, allocations: 0.6343 MB / 0.7566 GB, free: 63.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.057, allocations: 0 / 0.7566 GB, free: 63.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/2.059, allocations: 0.5052 MB / 0.7571 GB, free: 63.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/2.059, allocations: 108.8 kB / 0.7572 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/2.059, allocations: 4 kB / 0.7572 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/2.059, allocations: 23.83 kB / 0.7572 GB, free: 63.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/2.059, allocations: 15.98 kB / 0.7572 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/2.059, allocations: 11.98 kB / 0.7572 GB, free: 63.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003072/2.06, allocations: 202 kB / 0.7574 GB, free: 62.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.06, allocations: 0 / 0.7574 GB, free: 62.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009474/2.061, allocations: 155.9 kB / 0.7576 GB, free: 62.75 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 () * Number of clocked 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.001798/2.063, allocations: 1.314 MB / 0.7588 GB, free: 61.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007911/2.063, allocations: 231.8 kB / 0.7591 GB, free: 61.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.063, allocations: 0 / 0.7591 GB, free: 61.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/2.064, allocations: 124.6 kB / 0.7592 GB, free: 61.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/2.065, allocations: 152.4 kB / 0.7593 GB, free: 60.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/2.069, allocations: 3.354 MB / 0.7626 GB, free: 57.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/2.07, allocations: 0.7805 MB / 0.7634 GB, free: 56.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/2.07, allocations: 103.4 kB / 0.7635 GB, free: 56.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/2.07, allocations: 4 kB / 0.7635 GB, free: 56.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.855/4.925, allocations: 8.533 MB / 0.7718 GB, free: 48 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat