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.00213/0.002135, allocations: 177.8 kB / 8.363 MB, free: 0.7148 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.134/2.134, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 92.89 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3022/0.3022, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.41e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4238, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.829, allocations: 460.5 MB / 0.9157 GB, free: 97.86 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.829, allocations: 74.95 kB / 0.9158 GB, free: 97.82 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.09814/1.927, allocations: 29.29 MB / 0.9444 GB, free: 74 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.713e-06/1.927, allocations: 7.938 kB / 0.9444 GB, free: 73.99 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.928, allocations: 0 / 0.9444 GB, free: 73.99 MB / 0.4952 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.0004891/1.928, allocations: 394.7 kB / 0.9448 GB, free: 73.57 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.928, allocations: 12.02 kB / 0.9448 GB, free: 73.56 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/1.931, allocations: 182.3 kB / 0.945 GB, free: 73.4 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/1.931, allocations: 198.2 kB / 0.9452 GB, free: 73.18 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.931, allocations: 0 / 0.9452 GB, free: 73.18 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/1.931, allocations: 15.89 kB / 0.9452 GB, free: 73.16 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004866/1.932, allocations: 143.6 kB / 0.9453 GB, free: 73.08 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/1.932, allocations: 138.3 kB / 0.9455 GB, free: 72.95 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.932, allocations: 0 / 0.9455 GB, free: 72.95 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/1.932, allocations: 0 / 0.9455 GB, free: 72.95 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.932, allocations: 0 / 0.9455 GB, free: 72.95 MB / 0.4952 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.001233/1.933, allocations: 0.5414 MB / 0.946 GB, free: 72.42 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/1.934, allocations: 119.7 kB / 0.9461 GB, free: 72.33 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/1.934, allocations: 64.28 kB / 0.9462 GB, free: 72.29 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/1.934, allocations: 224 / 0.9462 GB, free: 72.29 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.934, allocations: 38.91 kB / 0.9462 GB, free: 72.24 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/1.934, allocations: 3.938 kB / 0.9462 GB, free: 72.24 MB / 0.4952 GB Notification: Performance of matching and sorting (n=19): time 0.006294/1.94, allocations: 0.895 MB / 0.9471 GB, free: 71.38 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/1.94, allocations: 55.41 kB / 0.9471 GB, free: 71.31 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/1.94, allocations: 100.6 kB / 0.9472 GB, free: 71.21 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/1.94, allocations: 25.7 kB / 0.9472 GB, free: 71.18 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/1.941, allocations: 170 kB / 0.9474 GB, free: 71.01 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/1.941, allocations: 62.45 kB / 0.9475 GB, free: 70.96 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/1.941, allocations: 0 / 0.9475 GB, free: 70.96 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/1.941, allocations: 318.6 kB / 0.9478 GB, free: 70.64 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/1.941, allocations: 64.31 kB / 0.9478 GB, free: 70.6 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/1.941, allocations: 99.64 kB / 0.9479 GB, free: 70.52 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/1.941, allocations: 70.28 kB / 0.948 GB, free: 70.47 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.941, allocations: 0 / 0.948 GB, free: 70.47 MB / 0.4952 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005369/1.942, allocations: 232.2 kB / 0.9482 GB, free: 70.29 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.942, allocations: 4 kB / 0.9482 GB, free: 70.28 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.942, allocations: 0 / 0.9482 GB, free: 70.28 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/1.942, allocations: 48.47 kB / 0.9483 GB, free: 70.23 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/1.943, allocations: 55.09 kB / 0.9483 GB, free: 70.18 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004059/1.943, allocations: 0.5625 MB / 0.9489 GB, free: 69.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/1.943, allocations: 8.094 kB / 0.9489 GB, free: 69.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/1.943, allocations: 27.98 kB / 0.9489 GB, free: 69.57 MB / 0.4952 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.0001526/1.943, allocations: 108.9 kB / 0.949 GB, free: 69.46 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005054/1.944, allocations: 220.3 kB / 0.9492 GB, free: 69.28 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/1.944, allocations: 11.91 kB / 0.9492 GB, free: 69.27 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/1.945, allocations: 315 kB / 0.9495 GB, free: 69.02 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/1.945, allocations: 4 kB / 0.9495 GB, free: 69.01 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.945, allocations: 4 kB / 0.9495 GB, free: 69.01 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.945, allocations: 7.984 kB / 0.9495 GB, free: 69 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.946, allocations: 0.5649 MB / 0.9501 GB, free: 68.46 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.946, allocations: 0 / 0.9501 GB, free: 68.46 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/1.947, allocations: 59.45 kB / 0.9502 GB, free: 68.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/1.947, allocations: 24.44 kB / 0.9502 GB, free: 68.38 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/1.947, allocations: 11.98 kB / 0.9502 GB, free: 68.37 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008139/1.948, allocations: 1.223 MB / 0.9514 GB, free: 67.07 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.948, allocations: 8.016 kB / 0.9514 GB, free: 67.07 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/1.949, allocations: 437.8 kB / 0.9518 GB, free: 66.67 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/1.949, allocations: 88.95 kB / 0.9519 GB, free: 66.56 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/1.949, allocations: 3.984 kB / 0.9519 GB, free: 66.56 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/1.949, allocations: 4 kB / 0.9519 GB, free: 66.55 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/1.949, allocations: 23.78 kB / 0.9519 GB, free: 66.54 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/1.949, allocations: 35.23 kB / 0.952 GB, free: 66.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 4.403e-05/1.949, allocations: 83.23 kB / 0.952 GB, free: 66.42 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.2e-07/1.949, allocations: 4.062 kB / 0.952 GB, free: 66.42 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0006855/1.95, allocations: 109.5 kB / 0.9521 GB, free: 66.33 MB / 0.4952 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.001967/1.952, allocations: 1.685 MB / 0.9538 GB, free: 64.68 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0005709/1.952, allocations: 171 kB / 0.954 GB, free: 64.55 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.953, allocations: 0 / 0.954 GB, free: 64.55 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/1.953, allocations: 210.6 kB / 0.9542 GB, free: 64.37 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/1.953, allocations: 43.16 kB / 0.9542 GB, free: 64.33 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.955, allocations: 396.5 kB / 0.9546 GB, free: 63.91 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/1.955, allocations: 0.7085 MB / 0.9553 GB, free: 63.18 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.955, allocations: 77.39 kB / 0.9553 GB, free: 63.12 MB / 0.4952 GB Notification: Performance of SimCode: time 1.252e-06/1.955, allocations: 0 / 0.9553 GB, free: 63.12 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.99/4.946, allocations: 6.855 MB / 0.962 GB, free: 56.28 MB / 0.4952 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