Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.00108/0.00108, allocations: 174.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.72/1.72, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009978/0.0009979, allocations: 93.36 kB / 281.6 MB, free: 5.312 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.2344/0.2344, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.287e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1581, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.725/1.883, allocations: 0.521 GB / 1.016 GB, free: 69.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.883, allocations: 89.33 kB / 1.016 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8507/2.734, allocations: 203.9 MB / 1.215 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/2.734, allocations: 0 / 1.215 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.186e-05/2.734, allocations: 16 kB / 1.215 GB, free: 67.64 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002487/2.737, allocations: 1.037 MB / 1.216 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/2.737, allocations: 19.97 kB / 1.216 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008013/2.737, allocations: 134.9 kB / 1.216 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/2.738, allocations: 0.5452 MB / 1.217 GB, free: 65.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/2.738, allocations: 80.7 kB / 1.217 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/2.738, allocations: 39.98 kB / 1.217 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007498/2.739, allocations: 0.5219 MB / 1.217 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/2.74, allocations: 0.7369 MB / 1.218 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/2.74, allocations: 4 kB / 1.218 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/2.74, allocations: 4 kB / 1.218 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/2.74, allocations: 49.22 kB / 1.218 GB, free: 64.3 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.003567/2.744, allocations: 3.94 MB / 1.222 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/2.744, allocations: 255.2 kB / 1.222 GB, free: 59.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/2.744, allocations: 129.3 kB / 1.222 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/2.744, allocations: 96.45 kB / 1.222 GB, free: 59.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/2.744, allocations: 38.8 kB / 1.223 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/2.745, allocations: 0 / 1.223 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004745/2.749, allocations: 1.384 MB / 1.224 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/2.749, allocations: 140.4 kB / 1.224 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/2.75, allocations: 458.1 kB / 1.224 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/2.75, allocations: 25.7 kB / 1.224 GB, free: 57.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/2.75, allocations: 394.8 kB / 1.225 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/2.75, allocations: 122.3 kB / 1.225 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/2.75, allocations: 0 / 1.225 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001084/2.75, allocations: 370.8 kB / 1.225 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/2.75, allocations: 181.5 kB / 1.225 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/2.751, allocations: 485.1 kB / 1.226 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/2.751, allocations: 299.7 kB / 1.226 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/2.751, allocations: 4 kB / 1.226 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001135/2.752, allocations: 0.7905 MB / 1.227 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/2.753, allocations: 12 kB / 1.227 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/2.753, allocations: 15.94 kB / 1.227 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/2.754, allocations: 270.9 kB / 1.227 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/2.754, allocations: 127.7 kB / 1.227 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/2.755, allocations: 0.9469 MB / 1.228 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/2.755, allocations: 35.86 kB / 1.228 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/2.756, allocations: 71.92 kB / 1.228 GB, free: 53.2 MB / 0.5105 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.0001673/2.756, allocations: 128.9 kB / 1.229 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006802/2.756, allocations: 413.5 kB / 1.229 GB, free: 52.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/2.756, allocations: 63.33 kB / 1.229 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/2.758, allocations: 0.5998 MB / 1.23 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/2.758, allocations: 4 kB / 1.23 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/2.758, allocations: 0 / 1.23 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/2.758, allocations: 0 / 1.23 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/2.759, allocations: 0.9901 MB / 1.231 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/2.759, allocations: 4 kB / 1.231 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/2.76, allocations: 195.8 kB / 1.231 GB, free: 50.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-05/2.76, allocations: 24.84 kB / 1.231 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/2.76, allocations: 11.98 kB / 1.231 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/2.762, allocations: 2.577 MB / 1.233 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.762, allocations: 0 / 1.233 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/2.762, allocations: 0.6976 MB / 1.234 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/2.763, allocations: 168.4 kB / 1.234 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/2.763, allocations: 4 kB / 1.234 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/2.763, allocations: 27.94 kB / 1.234 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/2.763, allocations: 27.97 kB / 1.234 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/2.763, allocations: 39.94 kB / 1.234 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003863/2.764, allocations: 342.9 kB / 1.235 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/2.764, allocations: 0 / 1.235 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001284/2.765, allocations: 291.8 kB / 1.235 GB, free: 46.27 MB / 0.5105 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.002677/2.768, allocations: 2.262 MB / 1.237 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008718/2.769, allocations: 498.3 kB / 1.238 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.769, allocations: 0 / 1.238 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007463/2.769, allocations: 363.4 kB / 1.238 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/2.771, allocations: 254 kB / 1.238 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/2.773, allocations: 1.051 MB / 1.239 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/2.773, allocations: 0.9373 MB / 1.24 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001048/2.774, allocations: 408.8 kB / 1.24 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/2.774, allocations: 263.3 kB / 1.241 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of SimCode: time 4.4e-07/2.774, allocations: 0 / 1.241 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/2.823, allocations: 24.85 MB / 1.265 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/2.823, allocations: 190.7 kB / 1.265 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.176/5.998, allocations: 4 kB / 1.265 GB, free: 15.3 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)