Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_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.001606/0.001611, allocations: 186.3 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.093/2.093, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001248/0.001247, allocations: 91.56 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.555/0.555, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006755/0.0006758, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1466, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.716/1.863, allocations: 461.3 MB / 0.9293 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.863, allocations: 74.16 kB / 0.9294 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1025/1.965, allocations: 29.93 MB / 0.9586 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/1.965, allocations: 0 / 0.9586 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.965, allocations: 4 kB / 0.9586 GB, free: 122.6 MB / 0.5105 GB 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.0005203/1.966, allocations: 397.4 kB / 0.959 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.966, allocations: 8.031 kB / 0.959 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/1.966, allocations: 41.67 kB / 0.959 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/1.969, allocations: 194.2 kB / 0.9592 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/1.969, allocations: 195.3 kB / 0.9594 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/1.969, allocations: 7.953 kB / 0.9594 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/1.969, allocations: 10.88 kB / 0.9594 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/1.97, allocations: 220.9 kB / 0.9596 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.97, allocations: 0 / 0.9596 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/1.97, allocations: 7.172 kB / 0.9596 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.97, allocations: 4 kB / 0.9596 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/1.971, allocations: 169.8 kB / 0.9598 GB, free: 121.5 MB / 0.5105 GB 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.001296/1.972, allocations: 0.5723 MB / 0.9604 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/1.973, allocations: 142 kB / 0.9605 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/1.973, allocations: 11.98 kB / 0.9605 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/1.973, allocations: 35.05 kB / 0.9605 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.915e-06/1.973, allocations: 0 / 0.9605 GB, free: 120.7 MB / 0.5105 GB 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.008864/1.982, allocations: 1.307 MB / 0.9618 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.982, allocations: 59.33 kB / 0.9619 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.982, allocations: 107.7 kB / 0.962 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/1.982, allocations: 32.89 kB / 0.962 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/1.982, allocations: 161.6 kB / 0.9622 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/1.982, allocations: 71.75 kB / 0.9622 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/1.982, allocations: 3.125 kB / 0.9622 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/1.982, allocations: 322.1 kB / 0.9625 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/1.983, allocations: 67.73 kB / 0.9626 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/1.983, allocations: 106.4 kB / 0.9627 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/1.983, allocations: 81.75 kB / 0.9628 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.983, allocations: 11.92 kB / 0.9628 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008316/1.984, allocations: 248.6 kB / 0.963 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.984, allocations: 11.95 kB / 0.963 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.984, allocations: 96 / 0.963 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/1.984, allocations: 55.64 kB / 0.9631 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/1.985, allocations: 55.89 kB / 0.9631 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004856/1.985, allocations: 0.5605 MB / 0.9637 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/1.986, allocations: 3.375 kB / 0.9637 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/1.986, allocations: 35.08 kB / 0.9637 GB, free: 117.7 MB / 0.5105 GB 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.0001644/1.986, allocations: 129 kB / 0.9639 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/1.986, allocations: 11.91 kB / 0.9639 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.987, allocations: 345.2 kB / 0.9642 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.987, allocations: 0 / 0.9642 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.987, allocations: 4 kB / 0.9642 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.987, allocations: 3.984 kB / 0.9642 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.989, allocations: 0.6155 MB / 0.9648 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.989, allocations: 4 kB / 0.9648 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/1.989, allocations: 59.33 kB / 0.9649 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/1.99, allocations: 23.97 kB / 0.9649 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/1.99, allocations: 18.98 kB / 0.9649 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000923/1.991, allocations: 1.271 MB / 0.9661 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.991, allocations: 3.984 kB / 0.9661 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.992, allocations: 463.5 kB / 0.9666 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/1.992, allocations: 88.98 kB / 0.9667 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/1.992, allocations: 7.125 kB / 0.9667 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/1.992, allocations: 11.38 kB / 0.9667 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/1.992, allocations: 27.36 kB / 0.9667 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/1.992, allocations: 31.42 kB / 0.9667 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.472e-05/1.992, allocations: 86.77 kB / 0.9668 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/1.992, allocations: 0 / 0.9668 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007292/1.993, allocations: 115.4 kB / 0.9669 GB, free: 114.5 MB / 0.5105 GB 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.002226/1.995, allocations: 1.649 MB / 0.9686 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008003/1.996, allocations: 203.6 kB / 0.9687 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.996, allocations: 0 / 0.9687 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004734/1.997, allocations: 223 kB / 0.969 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/1.997, allocations: 49.56 kB / 0.969 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/2, allocations: 1.571 MB / 0.9705 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/2, allocations: 0.7127 MB / 0.9712 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/2, allocations: 72.83 kB / 0.9713 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/2, allocations: 4 kB / 0.9713 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/4.829, allocations: 6.919 MB / 0.9781 GB, free: 103.3 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat