Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.5 MB / 230.7 MB, free: 7.543 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009421, allocations: 89.98 kB / 281.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2446/0.2446, allocations: 44.14 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.176e-05, allocations: 0 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1494, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.601/1.75, allocations: 461.8 MB / 0.9457 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.751, allocations: 75.95 kB / 0.9458 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05741/1.808, allocations: 29.92 MB / 0.975 GB, free: 126 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.532e-06/1.808, allocations: 0 / 0.975 GB, free: 126 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.512e-05/1.808, allocations: 4 kB / 0.975 GB, free: 126 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.0003942/1.809, allocations: 394.5 kB / 0.9754 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.809, allocations: 15.98 kB / 0.9754 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/1.81, allocations: 184.2 kB / 0.9756 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.81, allocations: 195 kB / 0.9758 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.81, allocations: 7.984 kB / 0.9758 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/1.811, allocations: 7.938 kB / 0.9758 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003153/1.811, allocations: 144 kB / 0.9759 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/1.811, allocations: 134 kB / 0.976 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.811, allocations: 0 / 0.976 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/1.811, allocations: 224 / 0.976 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.811, allocations: 4 kB / 0.976 GB, free: 124.9 MB / 0.5105 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.0008144/1.812, allocations: 0.545 MB / 0.9766 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/1.812, allocations: 126.5 kB / 0.9767 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/1.812, allocations: 66.95 kB / 0.9768 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/1.812, allocations: 11.98 kB / 0.9768 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/1.812, allocations: 34.56 kB / 0.9768 GB, free: 124 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/1.812, allocations: 0 / 0.9768 GB, free: 124 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.003454/1.816, allocations: 0.8759 MB / 0.9777 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/1.816, allocations: 55.41 kB / 0.9777 GB, free: 123 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/1.816, allocations: 112.9 kB / 0.9778 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.816, allocations: 25.7 kB / 0.9779 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/1.816, allocations: 84.05 kB / 0.9779 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/1.816, allocations: 67 kB / 0.978 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.816, allocations: 0 / 0.978 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/1.816, allocations: 326.8 kB / 0.9783 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/1.816, allocations: 60 kB / 0.9784 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/1.816, allocations: 104.8 kB / 0.9785 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/1.816, allocations: 64.91 kB / 0.9785 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/1.816, allocations: 4 kB / 0.9785 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003039/1.817, allocations: 231.1 kB / 0.9787 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.817, allocations: 4 kB / 0.9788 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.817, allocations: 0 / 0.9788 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/1.817, allocations: 44.94 kB / 0.9788 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/1.817, allocations: 59.89 kB / 0.9789 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003029/1.818, allocations: 0.5679 MB / 0.9794 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/1.818, allocations: 7.969 kB / 0.9794 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/1.818, allocations: 27.98 kB / 0.9794 GB, free: 121.2 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 () * 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.938e-05/1.818, allocations: 114.9 kB / 0.9796 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002847/1.818, allocations: 206.3 kB / 0.9797 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/1.818, allocations: 11.91 kB / 0.9798 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/1.819, allocations: 327.2 kB / 0.9801 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.819, allocations: 4 kB / 0.9801 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.819, allocations: 3.938 kB / 0.9801 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.819, allocations: 0 / 0.9801 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006131/1.819, allocations: 0.5652 MB / 0.9806 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.819, allocations: 0 / 0.9806 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/1.82, allocations: 59.95 kB / 0.9807 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/1.82, allocations: 16.84 kB / 0.9807 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/1.82, allocations: 15.98 kB / 0.9807 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/1.82, allocations: 1.213 MB / 0.9819 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.821, allocations: 8.031 kB / 0.9819 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/1.821, allocations: 443.7 kB / 0.9823 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/1.821, allocations: 88.97 kB / 0.9824 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/1.821, allocations: 3.984 kB / 0.9824 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/1.821, allocations: 12.05 kB / 0.9824 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/1.821, allocations: 23.97 kB / 0.9825 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/1.821, allocations: 24 kB / 0.9825 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.115e-05/1.821, allocations: 87.27 kB / 0.9826 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.821, allocations: 0 / 0.9826 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004431/1.822, allocations: 103.9 kB / 0.9827 GB, free: 117.6 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 () * 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.001396/1.823, allocations: 1.68 MB / 0.9843 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003462/1.824, allocations: 184 kB / 0.9845 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.824, allocations: 0 / 0.9845 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/1.824, allocations: 205.7 kB / 0.9847 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/1.824, allocations: 39.41 kB / 0.9847 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/1.825, allocations: 377.2 kB / 0.9851 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/1.825, allocations: 0.7124 MB / 0.9858 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003917/1.826, allocations: 73.39 kB / 0.9858 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/1.826, allocations: 67.41 kB / 0.9859 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/1.826, allocations: 0 / 0.9859 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/1.853, allocations: 9.497 MB / 0.9952 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.854, allocations: 139.8 kB / 0.9953 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.853, allocations: 3.875 kB / 0.9953 GB, free: 104.5 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat