Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001716/0.001716, 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.587/1.587, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.001012/0.001011, allocations: 89.25 kB / 281.6 MB, free: 5.328 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.2468/0.2468, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.66e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.772/1.932, allocations: 0.5093 GB / 1.004 GB, free: 81.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.932, allocations: 94.69 kB / 1.004 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8553/2.788, allocations: 201.1 MB / 1.201 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.542e-06/2.788, allocations: 4 kB / 1.201 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.419e-05/2.788, allocations: 22.7 kB / 1.201 GB, free: 82.86 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.002371/2.79, allocations: 1.034 MB / 1.202 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/2.79, allocations: 11.98 kB / 1.202 GB, free: 81.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/2.791, allocations: 139 kB / 1.202 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/2.792, allocations: 0.5435 MB / 1.202 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/2.792, allocations: 88.7 kB / 1.202 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/2.792, allocations: 28 kB / 1.202 GB, free: 80.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007393/2.793, allocations: 0.5219 MB / 1.203 GB, free: 80.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/2.794, allocations: 0.7332 MB / 1.204 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/2.794, allocations: 7.984 kB / 1.204 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/2.794, allocations: 4 kB / 1.204 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/2.794, allocations: 41.25 kB / 1.204 GB, free: 79.55 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.003904/2.798, allocations: 3.954 MB / 1.208 GB, free: 75.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/2.798, allocations: 247.2 kB / 1.208 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/2.798, allocations: 141.2 kB / 1.208 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.371e-05/2.798, allocations: 85.34 kB / 1.208 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/2.799, allocations: 38.8 kB / 1.208 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/2.799, allocations: 0 / 1.208 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004804/2.803, allocations: 1.383 MB / 1.209 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/2.803, allocations: 136.5 kB / 1.21 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/2.804, allocations: 462.1 kB / 1.21 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/2.804, allocations: 29.7 kB / 1.21 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/2.804, allocations: 402.8 kB / 1.21 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/2.804, allocations: 122.2 kB / 1.211 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/2.804, allocations: 0 / 1.211 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001002/2.804, allocations: 366.8 kB / 1.211 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/2.805, allocations: 185.4 kB / 1.211 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/2.805, allocations: 493.1 kB / 1.212 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/2.806, allocations: 292.4 kB / 1.212 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.806, allocations: 0 / 1.212 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001203/2.807, allocations: 0.8018 MB / 1.213 GB, free: 69.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/2.807, allocations: 9.25 kB / 1.213 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/2.807, allocations: 12 kB / 1.213 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/2.808, allocations: 277.1 kB / 1.213 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/2.808, allocations: 119.8 kB / 1.213 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008592/2.809, allocations: 0.9451 MB / 1.214 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/2.81, allocations: 31.97 kB / 1.214 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/2.81, allocations: 72.05 kB / 1.214 GB, free: 68.44 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.0001747/2.81, allocations: 132.7 kB / 1.214 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006728/2.811, allocations: 405.6 kB / 1.215 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/2.811, allocations: 59.34 kB / 1.215 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/2.812, allocations: 0.6075 MB / 1.215 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/2.812, allocations: 7.953 kB / 1.215 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.812, allocations: 0 / 1.215 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/2.812, allocations: 7.984 kB / 1.215 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/2.813, allocations: 0.9831 MB / 1.216 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.813, allocations: 0 / 1.216 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/2.814, allocations: 191.8 kB / 1.216 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-05/2.814, allocations: 28.81 kB / 1.216 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/2.814, allocations: 15.98 kB / 1.216 GB, free: 65.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/2.816, allocations: 2.589 MB / 1.219 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.816, allocations: 0 / 1.219 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/2.817, allocations: 0.6824 MB / 1.22 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/2.817, allocations: 172.4 kB / 1.22 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/2.817, allocations: 0 / 1.22 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/2.817, allocations: 24.03 kB / 1.22 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/2.818, allocations: 27.97 kB / 1.22 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/2.818, allocations: 43.97 kB / 1.22 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003886/2.818, allocations: 334.9 kB / 1.22 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.818, allocations: 3.938 kB / 1.22 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001395/2.819, allocations: 291.8 kB / 1.22 GB, free: 61.51 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.002628/2.822, allocations: 2.259 MB / 1.223 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000972/2.823, allocations: 487.2 kB / 1.223 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/2.823, allocations: 0 / 1.223 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007431/2.824, allocations: 362.7 kB / 1.223 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/2.825, allocations: 248.6 kB / 1.224 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/2.827, allocations: 1.04 MB / 1.225 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/2.828, allocations: 0.9411 MB / 1.226 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001101/2.829, allocations: 408.7 kB / 1.226 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/2.829, allocations: 271.3 kB / 1.226 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/2.829, allocations: 0 / 1.226 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05359/2.883, allocations: 24.76 MB / 1.25 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/2.883, allocations: 196.8 kB / 1.251 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/6.05, allocations: 0 / 1.251 GB, free: 30.57 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)