Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001413/0.001413, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.564/1.564, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001083/0.001083, allocations: 102.7 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.262, allocations: 47.56 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.233, allocations: 451.5 MB / 0.808 GB, free: 165.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.233, allocations: 75.25 kB / 0.808 GB, free: 165.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/1.337, allocations: 29.9 MB / 0.8372 GB, free: 144.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.337, allocations: 0 / 0.8372 GB, free: 144.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/1.337, allocations: 4 kB / 0.8372 GB, free: 144.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004455/1.337, allocations: 411.5 kB / 0.8376 GB, free: 143.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.337, allocations: 8.031 kB / 0.8376 GB, free: 143.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/1.337, allocations: 46.5 kB / 0.8377 GB, free: 143.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.339, allocations: 179.7 kB / 0.8379 GB, free: 143.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/1.339, allocations: 206.9 kB / 0.8381 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/1.339, allocations: 0 / 0.8381 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/1.339, allocations: 12 kB / 0.8381 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/1.34, allocations: 229.3 kB / 0.8383 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.34, allocations: 0 / 0.8383 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/1.34, allocations: 4 kB / 0.8383 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.34, allocations: 4 kB / 0.8383 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/1.34, allocations: 167.8 kB / 0.8385 GB, free: 143 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/1.341, allocations: 0.5688 MB / 0.839 GB, free: 142.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/1.342, allocations: 138.5 kB / 0.8391 GB, free: 142.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/1.342, allocations: 3.984 kB / 0.8391 GB, free: 142.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.342, allocations: 38.5 kB / 0.8392 GB, free: 142.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/1.342, allocations: 0 / 0.8392 GB, free: 142.2 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005027/1.347, allocations: 1.313 MB / 0.8405 GB, free: 140.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/1.347, allocations: 63.36 kB / 0.8405 GB, free: 140.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/1.347, allocations: 105 kB / 0.8406 GB, free: 140.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/1.347, allocations: 29.7 kB / 0.8407 GB, free: 140.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/1.347, allocations: 95.94 kB / 0.8407 GB, free: 140.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/1.347, allocations: 67.03 kB / 0.8408 GB, free: 140.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/1.347, allocations: 4 kB / 0.8408 GB, free: 140.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/1.347, allocations: 326.8 kB / 0.8411 GB, free: 140.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/1.347, allocations: 71.95 kB / 0.8412 GB, free: 140 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/1.347, allocations: 98.02 kB / 0.8413 GB, free: 139.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/1.347, allocations: 84.92 kB / 0.8414 GB, free: 139.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.347, allocations: 0 / 0.8414 GB, free: 139.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004106/1.348, allocations: 260.6 kB / 0.8416 GB, free: 139.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.348, allocations: 11.27 kB / 0.8416 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.348, allocations: 0 / 0.8416 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/1.348, allocations: 48.83 kB / 0.8417 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/1.348, allocations: 55.91 kB / 0.8417 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/1.349, allocations: 0.5758 MB / 0.8423 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/1.349, allocations: 8.031 kB / 0.8423 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/1.349, allocations: 23.98 kB / 0.8423 GB, free: 138.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.349, allocations: 121.8 kB / 0.8424 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/1.349, allocations: 11.91 kB / 0.8424 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/1.35, allocations: 343.3 kB / 0.8428 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.35, allocations: 4 kB / 0.8428 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.35, allocations: 7.984 kB / 0.8428 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.35, allocations: 0 / 0.8428 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/1.351, allocations: 0.6122 MB / 0.8434 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.351, allocations: 0 / 0.8434 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/1.351, allocations: 55.95 kB / 0.8434 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/1.351, allocations: 24.94 kB / 0.8435 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/1.351, allocations: 15.98 kB / 0.8435 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/1.352, allocations: 1.276 MB / 0.8447 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.352, allocations: 7.875 kB / 0.8447 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/1.352, allocations: 475.9 kB / 0.8452 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/1.353, allocations: 81.02 kB / 0.8453 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/1.353, allocations: 8 kB / 0.8453 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.353, allocations: 4 kB / 0.8453 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/1.353, allocations: 27.91 kB / 0.8453 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/1.353, allocations: 27.98 kB / 0.8453 GB, free: 135.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.338e-05/1.353, allocations: 87.33 kB / 0.8454 GB, free: 135.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.353, allocations: 4 kB / 0.8454 GB, free: 135.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005554/1.354, allocations: 119.9 kB / 0.8455 GB, free: 135.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/1.355, allocations: 1.635 MB / 0.8471 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/1.356, allocations: 203.8 kB / 0.8473 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.356, allocations: 0 / 0.8473 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/1.356, allocations: 223 kB / 0.8475 GB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/1.356, allocations: 45 kB / 0.8476 GB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/1.358, allocations: 1.557 MB / 0.8491 GB, free: 131.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/1.358, allocations: 0.7127 MB / 0.8498 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004338/1.359, allocations: 73.39 kB / 0.8499 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.359, allocations: 71.39 kB / 0.8499 GB, free: 130.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.359, allocations: 4 kB / 0.8499 GB, free: 130.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/1.387, allocations: 14.15 MB / 0.8638 GB, free: 116.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.388, allocations: 208.4 kB / 0.864 GB, free: 116.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/3.428, allocations: 0 / 0.864 GB, free: 116.1 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat