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.001788/0.001789, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009728/0.0009727, allocations: 91.97 kB / 261.7 MB, free: 1.68 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.2776/0.2776, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.915e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.783/1.932, allocations: 460.5 MB / 0.9158 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.932, allocations: 73.23 kB / 0.9158 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06174/1.994, allocations: 29.29 MB / 0.9444 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/1.994, allocations: 4 kB / 0.9444 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.994, allocations: 4 kB / 0.9444 GB, free: 139.8 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.0004512/1.995, allocations: 386.1 kB / 0.9448 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.995, allocations: 8.031 kB / 0.9448 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.996, allocations: 178.3 kB / 0.945 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/1.997, allocations: 208.8 kB / 0.9452 GB, free: 139 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.997, allocations: 0 / 0.9452 GB, free: 139 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/1.997, allocations: 7.953 kB / 0.9452 GB, free: 139 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000304/1.997, allocations: 153.2 kB / 0.9453 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.997, allocations: 125.3 kB / 0.9455 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.997, allocations: 7.984 kB / 0.9455 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/1.997, allocations: 0 / 0.9455 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.997, allocations: 0 / 0.9455 GB, free: 138.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.0008995/1.998, allocations: 0.5397 MB / 0.946 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/1.998, allocations: 125.2 kB / 0.9461 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/1.998, allocations: 62.55 kB / 0.9462 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.999, allocations: 4 kB / 0.9462 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/1.999, allocations: 38.53 kB / 0.9462 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/1.999, allocations: 4 kB / 0.9462 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.003706/2.002, allocations: 0.8944 MB / 0.9471 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/2.002, allocations: 55.41 kB / 0.9472 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/2.002, allocations: 96.5 kB / 0.9472 GB, free: 137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/2.002, allocations: 25.7 kB / 0.9473 GB, free: 137 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/2.002, allocations: 99.66 kB / 0.9474 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/2.003, allocations: 69.33 kB / 0.9474 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/2.003, allocations: 0 / 0.9474 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/2.003, allocations: 318.7 kB / 0.9477 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/2.003, allocations: 61.55 kB / 0.9478 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/2.003, allocations: 96.53 kB / 0.9479 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/2.003, allocations: 71.66 kB / 0.948 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/2.003, allocations: 0 / 0.948 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003065/2.003, allocations: 231.2 kB / 0.9482 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/2.003, allocations: 4 kB / 0.9482 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/2.003, allocations: 4 kB / 0.9482 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/2.003, allocations: 44.34 kB / 0.9482 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/2.004, allocations: 51.91 kB / 0.9483 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003371/2.004, allocations: 0.5755 MB / 0.9488 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/2.004, allocations: 3.984 kB / 0.9488 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/2.004, allocations: 24 kB / 0.9489 GB, free: 135.5 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 0.0001167/2.004, allocations: 112.7 kB / 0.949 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003071/2.005, allocations: 212.3 kB / 0.9492 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/2.005, allocations: 19.89 kB / 0.9492 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/2.005, allocations: 314.9 kB / 0.9495 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/2.005, allocations: 4 kB / 0.9495 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.006, allocations: 3.938 kB / 0.9495 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/2.006, allocations: 7.969 kB / 0.9495 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/2.006, allocations: 0.5695 MB / 0.9501 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/2.006, allocations: 4.094 kB / 0.9501 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/2.007, allocations: 55.95 kB / 0.9501 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.434e-05/2.007, allocations: 28.41 kB / 0.9501 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/2.007, allocations: 11.92 kB / 0.9502 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006397/2.007, allocations: 1.221 MB / 0.9513 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.007, allocations: 0 / 0.9513 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/2.008, allocations: 435.9 kB / 0.9518 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/2.008, allocations: 89.03 kB / 0.9518 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/2.008, allocations: 7.688 kB / 0.9519 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/2.008, allocations: 4 kB / 0.9519 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/2.008, allocations: 24.03 kB / 0.9519 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/2.008, allocations: 31.55 kB / 0.9519 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.15e-05/2.008, allocations: 87.17 kB / 0.952 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/2.008, allocations: 0 / 0.952 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004974/2.009, allocations: 109.5 kB / 0.9521 GB, free: 132.2 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.001372/2.01, allocations: 1.68 MB / 0.9537 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003374/2.01, allocations: 174.6 kB / 0.9539 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.01, allocations: 0 / 0.9539 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/2.011, allocations: 213.9 kB / 0.9541 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/2.011, allocations: 42.84 kB / 0.9542 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/2.012, allocations: 367.1 kB / 0.9545 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/2.012, allocations: 0.7085 MB / 0.9552 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000396/2.012, allocations: 81.38 kB / 0.9553 GB, free: 129 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/2.013, allocations: 70.2 kB / 0.9553 GB, free: 129 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/2.013, allocations: 0 / 0.9553 GB, free: 129 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/2.046, allocations: 9.484 MB / 0.9646 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/2.047, allocations: 141 kB / 0.9647 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/4.057, allocations: 4 kB / 0.9647 GB, free: 119.3 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