Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009096/0.0009096, allocations: 83.25 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1683/0.1683, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.828e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.559/1.659, allocations: 0.794 GB / 1.305 GB, free: 78.89 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.66, allocations: 97.41 kB / 1.306 GB, free: 78.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.394/4.054, allocations: 0.731 GB / 2.037 GB, free: 87.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/4.054, allocations: 3.406 kB / 2.037 GB, free: 87.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.011e-05/4.054, allocations: 29.19 kB / 2.037 GB, free: 87.61 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004407/4.059, allocations: 1.399 MB / 2.038 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/4.059, allocations: 11.78 kB / 2.038 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003338/4.059, allocations: 123.1 kB / 2.038 GB, free: 87.19 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/4.061, allocations: 283.1 kB / 2.038 GB, free: 87.14 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/4.063, allocations: 0.6703 MB / 2.039 GB, free: 86.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/4.063, allocations: 120.3 kB / 2.039 GB, free: 86.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/4.063, allocations: 67.17 kB / 2.039 GB, free: 86.85 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/4.065, allocations: 1.237 MB / 2.04 GB, free: 86.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/4.066, allocations: 1.031 kB / 2.04 GB, free: 86.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/4.066, allocations: 32.12 kB / 2.04 GB, free: 86.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.096e-05/4.066, allocations: 75.33 kB / 2.041 GB, free: 86.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/4.068, allocations: 1.014 MB / 2.041 GB, free: 86.6 MB / 0.5417 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.006132/4.074, allocations: 4.833 MB / 2.046 GB, free: 83.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/4.074, allocations: 267.1 kB / 2.046 GB, free: 83.81 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/4.074, allocations: 140.2 kB / 2.047 GB, free: 83.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/4.075, allocations: 267.7 kB / 2.047 GB, free: 83.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/4.075, allocations: 36.83 kB / 2.047 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/4.075, allocations: 3.594 kB / 2.047 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.00535/4.08, allocations: 1.604 MB / 2.048 GB, free: 82.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/4.08, allocations: 132.2 kB / 2.049 GB, free: 82.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/4.081, allocations: 0.8221 MB / 2.049 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/4.081, allocations: 30.17 kB / 2.049 GB, free: 82.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/4.082, allocations: 0.5635 MB / 2.05 GB, free: 82.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/4.082, allocations: 131.6 kB / 2.05 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/4.082, allocations: 21.31 kB / 2.05 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001229/4.082, allocations: 409 kB / 2.051 GB, free: 81.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/4.082, allocations: 264.5 kB / 2.051 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/4.083, allocations: 0.8506 MB / 2.052 GB, free: 81.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/4.084, allocations: 449.5 kB / 2.052 GB, free: 81.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/4.084, allocations: 5.594 kB / 2.052 GB, free: 81.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002485/4.086, allocations: 1.203 MB / 2.053 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/4.086, allocations: 16.72 kB / 2.053 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-05/4.086, allocations: 23.38 kB / 2.053 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/4.088, allocations: 291.2 kB / 2.054 GB, free: 81.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/4.088, allocations: 206.8 kB / 2.054 GB, free: 81.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008356/4.089, allocations: 0.9053 MB / 2.055 GB, free: 80.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/4.09, allocations: 66.62 kB / 2.055 GB, free: 80.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/4.09, allocations: 68.19 kB / 2.055 GB, free: 80.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/4.09, allocations: 182.7 kB / 2.055 GB, free: 80.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/4.091, allocations: 90.91 kB / 2.055 GB, free: 80.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/4.091, allocations: 0.5037 MB / 2.055 GB, free: 80.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/4.091, allocations: 3.875 kB / 2.055 GB, free: 80.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/4.091, allocations: 0 / 2.055 GB, free: 80.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/4.091, allocations: 3.797 kB / 2.055 GB, free: 80.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/4.093, allocations: 1.118 MB / 2.057 GB, free: 79.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/4.093, allocations: 0 / 2.057 GB, free: 79.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008907/4.094, allocations: 187.8 kB / 2.057 GB, free: 79.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/4.094, allocations: 23.33 kB / 2.057 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/4.094, allocations: 10.92 kB / 2.057 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/4.095, allocations: 2.681 MB / 2.059 GB, free: 77.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/4.095, allocations: 0 / 2.059 GB, free: 77.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/4.096, allocations: 0.7006 MB / 2.06 GB, free: 77.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/4.097, allocations: 203.4 kB / 2.06 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/4.097, allocations: 13.62 kB / 2.06 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/4.097, allocations: 28.66 kB / 2.06 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/4.097, allocations: 23.31 kB / 2.06 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/4.097, allocations: 17.47 kB / 2.06 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006413/4.098, allocations: 0.6064 MB / 2.061 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/4.098, allocations: 0 / 2.061 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001683/4.1, allocations: 486.9 kB / 2.061 GB, free: 76.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003589/4.103, allocations: 2.487 MB / 2.064 GB, free: 76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001075/4.104, allocations: 0.6513 MB / 2.064 GB, free: 76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/4.105, allocations: 6 kB / 2.064 GB, free: 76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/4.105, allocations: 355.6 kB / 2.065 GB, free: 75.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/4.107, allocations: 410.4 kB / 2.065 GB, free: 75.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/4.11, allocations: 1.447 MB / 2.067 GB, free: 75.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/4.11, allocations: 1.052 MB / 2.068 GB, free: 74.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001043/4.111, allocations: 383.8 kB / 2.068 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/4.112, allocations: 323.8 kB / 2.068 GB, free: 74.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/4.112, allocations: 0 / 2.068 GB, free: 74.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/4.178, allocations: 45.64 MB / 2.113 GB, free: 73.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/4.178, allocations: 269.4 kB / 2.113 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/7.32, allocations: 0 / 2.113 GB, free: 73.57 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat