Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_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.001979/0.001978, allocations: 184 kB / 15.76 MB, free: 6.367 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.9/1.9, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009002/0.0008996, allocations: 86.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2653/0.2653, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004693, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.67/1.84, allocations: 461.3 MB / 0.9293 GB, free: 197 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.84, allocations: 72.47 kB / 0.9294 GB, free: 197 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05757/1.898, allocations: 29.93 MB / 0.9586 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.544e-06/1.898, allocations: 0 / 0.9586 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.898, allocations: 4 kB / 0.9586 GB, free: 167.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.0004507/1.898, allocations: 396.3 kB / 0.959 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.898, allocations: 12.03 kB / 0.959 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/1.898, allocations: 42.5 kB / 0.9591 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/1.9, allocations: 179.6 kB / 0.9592 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/1.9, allocations: 203 kB / 0.9594 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.9, allocations: 7.953 kB / 0.9594 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/1.9, allocations: 12 kB / 0.9594 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/1.901, allocations: 220 kB / 0.9596 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.901, allocations: 4 kB / 0.9597 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/1.901, allocations: 4 kB / 0.9597 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.901, allocations: 3.984 kB / 0.9597 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/1.901, allocations: 167.9 kB / 0.9598 GB, free: 166.3 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.0009394/1.902, allocations: 0.5764 MB / 0.9604 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/1.902, allocations: 138.5 kB / 0.9605 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/1.903, allocations: 0 / 0.9605 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/1.903, allocations: 39.05 kB / 0.9606 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/1.903, allocations: 0 / 0.9606 GB, free: 165.4 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.00487/1.907, allocations: 1.306 MB / 0.9618 GB, free: 164 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/1.907, allocations: 55.41 kB / 0.9619 GB, free: 164 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/1.908, allocations: 112.9 kB / 0.962 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.908, allocations: 25.7 kB / 0.962 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/1.908, allocations: 92.05 kB / 0.9621 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/1.908, allocations: 70.94 kB / 0.9622 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/1.908, allocations: 4 kB / 0.9622 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/1.908, allocations: 322.8 kB / 0.9625 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.908, allocations: 71.97 kB / 0.9625 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.908, allocations: 95.58 kB / 0.9626 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/1.908, allocations: 80.92 kB / 0.9627 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.908, allocations: 0 / 0.9627 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004056/1.909, allocations: 272.6 kB / 0.963 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.909, allocations: 14.55 kB / 0.963 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.909, allocations: 0 / 0.963 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/1.909, allocations: 48.83 kB / 0.963 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/1.909, allocations: 55.89 kB / 0.9631 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/1.91, allocations: 0.5642 MB / 0.9636 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.91, allocations: 11.98 kB / 0.9637 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/1.91, allocations: 20 kB / 0.9637 GB, free: 162.1 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.0001048/1.91, allocations: 129.7 kB / 0.9638 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/1.91, allocations: 15.89 kB / 0.9638 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/1.911, allocations: 347 kB / 0.9641 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.911, allocations: 3.938 kB / 0.9641 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.911, allocations: 4 kB / 0.9641 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.911, allocations: 0 / 0.9641 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/1.911, allocations: 0.6269 MB / 0.9648 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/1.911, allocations: 7.984 kB / 0.9648 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/1.912, allocations: 63.83 kB / 0.9648 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.216e-05/1.912, allocations: 20.84 kB / 0.9649 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/1.912, allocations: 16.09 kB / 0.9649 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000633/1.913, allocations: 1.272 MB / 0.9661 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.913, allocations: 0 / 0.9661 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/1.913, allocations: 463.8 kB / 0.9666 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/1.913, allocations: 92.94 kB / 0.9666 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/1.913, allocations: 8 kB / 0.9666 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.913, allocations: 8 kB / 0.9667 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/1.914, allocations: 27.92 kB / 0.9667 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/1.914, allocations: 27.98 kB / 0.9667 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.803e-05/1.914, allocations: 87.22 kB / 0.9668 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/1.914, allocations: 0 / 0.9668 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005832/1.914, allocations: 124 kB / 0.9669 GB, free: 158.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.001871/1.916, allocations: 1.634 MB / 0.9685 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004881/1.917, allocations: 196.5 kB / 0.9687 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.917, allocations: 4 kB / 0.9687 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/1.917, allocations: 222.5 kB / 0.9689 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/1.917, allocations: 44.33 kB / 0.969 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.919, allocations: 1.562 MB / 0.9705 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/1.919, allocations: 0.7088 MB / 0.9712 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004108/1.92, allocations: 81.31 kB / 0.9712 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/1.92, allocations: 67.41 kB / 0.9713 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/1.92, allocations: 0 / 0.9713 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/1.948, allocations: 14.14 MB / 0.9851 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/1.948, allocations: 206.8 kB / 0.9853 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/4.077, allocations: 0 / 0.9853 GB, free: 139.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat