Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001237, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 94.61 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.022e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.596/1.734, allocations: 462.9 MB / 0.9564 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/1.735, allocations: 78.53 kB / 0.9565 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06551/1.8, allocations: 29.96 MB / 0.9858 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/1.8, allocations: 0 / 0.9858 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.8, allocations: 3.812 kB / 0.9858 GB, free: 159.7 MB / 0.5261 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.000465/1.801, allocations: 396.5 kB / 0.9862 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.801, allocations: 11.12 kB / 0.9862 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/1.803, allocations: 188.6 kB / 0.9864 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/1.803, allocations: 197.1 kB / 0.9865 GB, free: 159 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.803, allocations: 3.812 kB / 0.9865 GB, free: 159 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/1.803, allocations: 11.7 kB / 0.9866 GB, free: 159 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002929/1.803, allocations: 152.7 kB / 0.9867 GB, free: 159 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/1.803, allocations: 127 kB / 0.9868 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.803, allocations: 7.734 kB / 0.9868 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/1.803, allocations: 0 / 0.9868 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.803, allocations: 4 kB / 0.9868 GB, free: 158.9 MB / 0.5261 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.0008746/1.804, allocations: 0.5363 MB / 0.9874 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/1.805, allocations: 118.5 kB / 0.9875 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/1.805, allocations: 65.31 kB / 0.9875 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/1.805, allocations: 3.984 kB / 0.9875 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/1.805, allocations: 38.09 kB / 0.9876 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/1.805, allocations: 3.938 kB / 0.9876 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.003605/1.808, allocations: 0.897 MB / 0.9885 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/1.808, allocations: 51.41 kB / 0.9885 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/1.808, allocations: 100.3 kB / 0.9886 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/1.808, allocations: 25.7 kB / 0.9886 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/1.809, allocations: 95.72 kB / 0.9887 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/1.809, allocations: 65.7 kB / 0.9888 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/1.809, allocations: 0 / 0.9888 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/1.809, allocations: 322.6 kB / 0.9891 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/1.809, allocations: 62.95 kB / 0.9891 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/1.809, allocations: 95.72 kB / 0.9892 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/1.809, allocations: 72.41 kB / 0.9893 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.809, allocations: 3.844 kB / 0.9893 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003168/1.809, allocations: 225.8 kB / 0.9895 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.809, allocations: 3.875 kB / 0.9895 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.809, allocations: 3.719 kB / 0.9895 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/1.809, allocations: 47.5 kB / 0.9896 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/1.81, allocations: 57.88 kB / 0.9896 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002927/1.81, allocations: 0.5646 MB / 0.9902 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.81, allocations: 11.77 kB / 0.9902 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.81, allocations: 30.44 kB / 0.9902 GB, free: 156.5 MB / 0.5261 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.000107/1.81, allocations: 108.9 kB / 0.9903 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003133/1.811, allocations: 219.8 kB / 0.9905 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/1.811, allocations: 7.656 kB / 0.9905 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/1.811, allocations: 315 kB / 0.9908 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.811, allocations: 3.875 kB / 0.9908 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.811, allocations: 3.984 kB / 0.9908 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.811, allocations: 0 / 0.9908 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/1.812, allocations: 0.5632 MB / 0.9914 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.812, allocations: 3.812 kB / 0.9914 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/1.812, allocations: 57.73 kB / 0.9915 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.324e-05/1.813, allocations: 20.47 kB / 0.9915 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/1.813, allocations: 15.11 kB / 0.9915 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005744/1.813, allocations: 1.216 MB / 0.9927 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.813, allocations: 3.906 kB / 0.9927 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/1.814, allocations: 439.7 kB / 0.9931 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/1.814, allocations: 89.03 kB / 0.9932 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/1.814, allocations: 7.938 kB / 0.9932 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/1.814, allocations: 7.75 kB / 0.9932 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/1.814, allocations: 19.62 kB / 0.9932 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/1.814, allocations: 34.38 kB / 0.9933 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.956e-05/1.814, allocations: 82.91 kB / 0.9933 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.814, allocations: 0 / 0.9933 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004977/1.815, allocations: 104.6 kB / 0.9934 GB, free: 154.1 MB / 0.5261 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.001313/1.816, allocations: 1.687 MB / 0.9951 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003289/1.816, allocations: 184.5 kB / 0.9953 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.816, allocations: 0 / 0.9953 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/1.816, allocations: 199.2 kB / 0.9954 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/1.817, allocations: 50.56 kB / 0.9955 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/1.817, allocations: 381.7 kB / 0.9959 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/1.818, allocations: 0.7072 MB / 0.9965 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004009/1.818, allocations: 83.62 kB / 0.9966 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/1.818, allocations: 71.41 kB / 0.9967 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/1.818, allocations: 0 / 0.9967 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/1.848, allocations: 9.508 MB / 1.006 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.848, allocations: 132.9 kB / 1.006 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.691, allocations: 0 / 1.006 GB, free: 146.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat