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.00162/0.00162, allocations: 183 kB / 13.19 MB, free: 2.129 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.14/2.14, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001073/0.001074, allocations: 89.12 kB / 267 MB, free: 9.277 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.5016/0.5016, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.797e-05/4.799e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1595, allocations: 58.84 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/1.926, allocations: 461.2 MB / 0.9233 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/1.927, allocations: 67.89 kB / 0.9233 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06472/1.991, allocations: 29.85 MB / 0.9525 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.943e-06/1.991, allocations: 0 / 0.9525 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.348e-05/1.992, allocations: 0 / 0.9525 GB, free: 128.1 MB / 0.4948 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.0004235/1.992, allocations: 397.1 kB / 0.9529 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.992, allocations: 12.03 kB / 0.9529 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/1.992, allocations: 34.56 kB / 0.9529 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/1.994, allocations: 178 kB / 0.9531 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/1.994, allocations: 210.8 kB / 0.9533 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.994, allocations: 11.95 kB / 0.9533 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/1.994, allocations: 4 kB / 0.9533 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/1.994, allocations: 217.3 kB / 0.9535 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.994, allocations: 3.938 kB / 0.9535 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.994, allocations: 0 / 0.9535 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.994, allocations: 4 kB / 0.9535 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/1.995, allocations: 148 kB / 0.9537 GB, free: 126.8 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.001029/1.996, allocations: 0.5775 MB / 0.9542 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/1.996, allocations: 130.5 kB / 0.9543 GB, free: 126 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.996, allocations: 61.73 kB / 0.9544 GB, free: 126 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/1.996, allocations: 7.5 kB / 0.9544 GB, free: 126 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.996, allocations: 42.5 kB / 0.9545 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/1.996, allocations: 0 / 0.9545 GB, free: 125.9 MB / 0.4948 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.004394/2.001, allocations: 1.094 MB / 0.9555 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/2.001, allocations: 55.41 kB / 0.9556 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/2.001, allocations: 97 kB / 0.9557 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/2.001, allocations: 25.7 kB / 0.9557 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/2.001, allocations: 103.9 kB / 0.9558 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/2.001, allocations: 63.09 kB / 0.9559 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/2.001, allocations: 7.938 kB / 0.9559 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/2.001, allocations: 318.8 kB / 0.9562 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/2.001, allocations: 71.98 kB / 0.9562 GB, free: 124 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/2.001, allocations: 92.62 kB / 0.9563 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/2.001, allocations: 68.91 kB / 0.9564 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/2.001, allocations: 0 / 0.9564 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000349/2.002, allocations: 264.6 kB / 0.9566 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/2.002, allocations: 4 kB / 0.9566 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/2.002, allocations: 3.938 kB / 0.9566 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/2.002, allocations: 48.83 kB / 0.9567 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/2.002, allocations: 51.97 kB / 0.9567 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000324/2.003, allocations: 0.5719 MB / 0.9573 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/2.003, allocations: 8.031 kB / 0.9573 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/2.003, allocations: 23.98 kB / 0.9573 GB, free: 122.8 MB / 0.4948 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 () * 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 8.583e-05/2.003, allocations: 124.8 kB / 0.9575 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/2.003, allocations: 11.91 kB / 0.9575 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/2.004, allocations: 335.2 kB / 0.9578 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/2.004, allocations: 4 kB / 0.9578 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.004, allocations: 0 / 0.9578 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/2.004, allocations: 4 kB / 0.9578 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/2.004, allocations: 0.6179 MB / 0.9584 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/2.004, allocations: 0 / 0.9584 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/2.005, allocations: 63.89 kB / 0.9585 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-05/2.005, allocations: 20.94 kB / 0.9585 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/2.005, allocations: 19.98 kB / 0.9585 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006375/2.005, allocations: 1.268 MB / 0.9597 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.005, allocations: 0 / 0.9597 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/2.006, allocations: 452.4 kB / 0.9602 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/2.006, allocations: 93.03 kB / 0.9603 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/2.006, allocations: 4 kB / 0.9603 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/2.006, allocations: 12 kB / 0.9603 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/2.006, allocations: 27.92 kB / 0.9603 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/2.006, allocations: 27.98 kB / 0.9603 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.203e-05/2.006, allocations: 87.28 kB / 0.9604 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/2.006, allocations: 0 / 0.9604 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005557/2.007, allocations: 116 kB / 0.9605 GB, free: 119.3 MB / 0.4948 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 () * 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.001387/2.008, allocations: 1.619 MB / 0.9621 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003814/2.009, allocations: 188.6 kB / 0.9623 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/2.009, allocations: 0 / 0.9623 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/2.009, allocations: 217.8 kB / 0.9625 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/2.009, allocations: 51.11 kB / 0.9625 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/2.01, allocations: 399 kB / 0.9629 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/2.01, allocations: 0.7049 MB / 0.9636 GB, free: 116 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004077/2.011, allocations: 81.16 kB / 0.9637 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/2.011, allocations: 71.39 kB / 0.9637 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/2.011, allocations: 0 / 0.9637 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/2.04, allocations: 15.7 MB / 0.9791 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/2.04, allocations: 173.5 kB / 0.9792 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/4.328, allocations: 0 / 0.9792 GB, free: 99.97 MB / 0.4948 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