Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.002174/0.002174, allocations: 179.4 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.24/2.24, 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.001151/0.001151, allocations: 83.47 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.3095/0.3095, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.321e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4188, allocations: 58.85 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.422/1.841, allocations: 0.5077 GB / 0.9737 GB, free: 40.86 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.841, allocations: 91.88 kB / 0.9738 GB, free: 40.81 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.09/2.932, allocations: 216.3 MB / 1.185 GB, free: 33.65 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.583e-06/2.932, allocations: 0 / 1.185 GB, free: 33.65 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.527e-05/2.932, allocations: 20 kB / 1.185 GB, free: 33.63 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003424/2.935, allocations: 1.1 MB / 1.186 GB, free: 32.49 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/2.935, allocations: 15.97 kB / 1.186 GB, free: 32.47 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/2.937, allocations: 139 kB / 1.186 GB, free: 32.34 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/2.938, allocations: 0.5351 MB / 1.187 GB, free: 31.76 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/2.938, allocations: 84.7 kB / 1.187 GB, free: 31.66 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/2.938, allocations: 32 kB / 1.187 GB, free: 31.63 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001304/2.94, allocations: 0.5257 MB / 1.187 GB, free: 31.11 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/2.941, allocations: 0.7345 MB / 1.188 GB, free: 30.29 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/2.941, allocations: 3.938 kB / 1.188 GB, free: 30.29 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/2.941, allocations: 4 kB / 1.188 GB, free: 30.29 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-05/2.941, allocations: 41.28 kB / 1.188 GB, free: 30.25 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.006181/2.948, allocations: 3.893 MB / 1.192 GB, free: 26.11 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/2.948, allocations: 255.2 kB / 1.192 GB, free: 25.85 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/2.949, allocations: 125.3 kB / 1.192 GB, free: 25.73 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/2.949, allocations: 28.98 kB / 1.192 GB, free: 25.7 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/2.949, allocations: 34.8 kB / 1.192 GB, free: 25.66 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/2.949, allocations: 0 / 1.192 GB, free: 25.66 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.008634/2.957, allocations: 1.442 MB / 1.194 GB, free: 24.14 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/2.957, allocations: 132.5 kB / 1.194 GB, free: 23.98 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/2.958, allocations: 466 kB / 1.194 GB, free: 23.51 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/2.958, allocations: 29.64 kB / 1.194 GB, free: 23.48 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/2.959, allocations: 433.3 kB / 1.195 GB, free: 23.05 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/2.959, allocations: 122.3 kB / 1.195 GB, free: 22.93 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/2.959, allocations: 0 / 1.195 GB, free: 22.93 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/2.959, allocations: 346.8 kB / 1.195 GB, free: 22.58 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/2.959, allocations: 185.4 kB / 1.195 GB, free: 22.4 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/2.96, allocations: 489.1 kB / 1.196 GB, free: 21.78 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/2.961, allocations: 323.4 kB / 1.196 GB, free: 21.46 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/2.961, allocations: 4 kB / 1.196 GB, free: 21.46 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002073/2.963, allocations: 0.7832 MB / 1.197 GB, free: 20.66 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/2.963, allocations: 12 kB / 1.197 GB, free: 20.65 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/2.963, allocations: 16.06 kB / 1.197 GB, free: 20.64 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/2.965, allocations: 276.6 kB / 1.197 GB, free: 20.36 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/2.966, allocations: 119.8 kB / 1.197 GB, free: 20.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/2.967, allocations: 0.9501 MB / 1.198 GB, free: 19.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/2.968, allocations: 32.03 kB / 1.198 GB, free: 19.24 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/2.968, allocations: 63.98 kB / 1.198 GB, free: 19.18 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0002141/2.968, allocations: 140.6 kB / 1.199 GB, free: 19.04 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001202/2.97, allocations: 429.5 kB / 1.199 GB, free: 18.61 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/2.97, allocations: 63.33 kB / 1.199 GB, free: 18.54 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/2.971, allocations: 0.504 MB / 1.199 GB, free: 18.02 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/2.971, allocations: 4 kB / 1.199 GB, free: 18.02 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/2.971, allocations: 4 kB / 1.199 GB, free: 18.02 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/2.972, allocations: 3.953 kB / 1.2 GB, free: 18.01 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/2.974, allocations: 0.9888 MB / 1.2 GB, free: 16.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.974, allocations: 0 / 1.2 GB, free: 16.97 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/2.976, allocations: 207.8 kB / 1.201 GB, free: 16.77 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/2.976, allocations: 24.8 kB / 1.201 GB, free: 16.74 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/2.976, allocations: 11.98 kB / 1.201 GB, free: 16.73 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/2.978, allocations: 2.577 MB / 1.203 GB, free: 13.92 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.978, allocations: 7.938 kB / 1.203 GB, free: 13.91 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/2.979, allocations: 0.6779 MB / 1.204 GB, free: 13.21 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/2.98, allocations: 172.3 kB / 1.204 GB, free: 13.02 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/2.98, allocations: 4.156 kB / 1.204 GB, free: 13.02 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007187/2.981, allocations: 19.97 kB / 1.204 GB, free: 13 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/2.981, allocations: 35.91 kB / 1.204 GB, free: 12.96 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/2.981, allocations: 35.98 kB / 1.204 GB, free: 12.93 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005587/2.981, allocations: 342.9 kB / 1.204 GB, free: 12.59 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/2.981, allocations: 7.938 kB / 1.204 GB, free: 12.59 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001789/2.983, allocations: 343.8 kB / 1.205 GB, free: 12.25 MB / 0.4952 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 (34): * Single equations (assignments): 32 * 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.00402/2.987, allocations: 2.372 MB / 1.207 GB, free: 9.84 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001533/2.989, allocations: 484.5 kB / 1.208 GB, free: 9.371 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/2.989, allocations: 4.062 kB / 1.208 GB, free: 9.367 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/2.99, allocations: 353.4 kB / 1.208 GB, free: 9.012 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/2.992, allocations: 247.3 kB / 1.208 GB, free: 8.773 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/2.995, allocations: 1.112 MB / 1.209 GB, free: 7.609 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/2.996, allocations: 0.9411 MB / 1.21 GB, free: 6.641 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/2.997, allocations: 275.3 kB / 1.21 GB, free: 6.371 MB / 0.4952 GB Notification: Performance of SimCode: time 1.142e-06/2.997, allocations: 0 / 1.21 GB, free: 6.371 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.755/6.752, allocations: 22.7 MB / 1.233 GB, free: 91.33 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat