Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3224/0.3224, allocations: 38 MB / 307.8 MB, free: 9.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 70.39 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1431, allocations: 56.46 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3873/0.5304, allocations: 179.7 MB / 0.597 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007508/0.538, allocations: 5.744 MB / 0.6027 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.5386, allocations: 23.81 kB / 0.6027 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.5395, allocations: 322 kB / 0.603 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.5434, allocations: 1.572 MB / 0.6045 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.5465, allocations: 1.236 MB / 0.6057 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.5486, allocations: 1.845 MB / 0.6075 GB, free: 9.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.5492, allocations: 464.3 kB / 0.608 GB, free: 8.637 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.552, allocations: 1.226 MB / 0.6092 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.5533, allocations: 0.751 MB / 0.6099 GB, free: 6.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.5535, allocations: 60 kB / 0.61 GB, free: 6.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.5552, allocations: 0.7412 MB / 0.6107 GB, free: 5.855 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.5555, allocations: 263.3 kB / 0.6109 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.5559, allocations: 394.2 kB / 0.6113 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.5578, allocations: 1.422 MB / 0.6127 GB, free: 3.785 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5578, allocations: 0 / 0.6127 GB, free: 3.785 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5578, allocations: 7.938 kB / 0.6127 GB, free: 3.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.5578, allocations: 0 / 0.6127 GB, free: 3.777 MB / 478.1 MB 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.002201/0.56, allocations: 1.129 MB / 0.6138 GB, free: 2.598 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5601, allocations: 15.89 kB / 0.6138 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007913/0.5609, allocations: 127.1 kB / 0.6139 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.5616, allocations: 0.5119 MB / 0.6144 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.5618, allocations: 100.4 kB / 0.6145 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.5619, allocations: 47.98 kB / 0.6146 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.5631, allocations: 0.8213 MB / 0.6154 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5631, allocations: 7.844 kB / 0.6154 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.5632, allocations: 23.98 kB / 0.6154 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/0.5632, allocations: 44.97 kB / 0.6155 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5643, allocations: 0.6166 MB / 0.6161 GB, free: 160 kB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004485/0.5688, allocations: 3.987 MB / 0.62 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.5694, allocations: 358.7 kB / 0.6203 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.5697, allocations: 173.3 kB / 0.6205 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.5702, allocations: 357.5 kB / 0.6208 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5703, allocations: 38.84 kB / 0.6208 GB, free: 10.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.5703, allocations: 0 / 0.6208 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005735/0.576, allocations: 1.668 MB / 0.6225 GB, free: 9.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.5761, allocations: 136.5 kB / 0.6226 GB, free: 9.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000687/0.5768, allocations: 0.6171 MB / 0.6232 GB, free: 8.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.5768, allocations: 33.7 kB / 0.6232 GB, free: 8.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.5771, allocations: 366.8 kB / 0.6236 GB, free: 8.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5772, allocations: 150 kB / 0.6237 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.5774, allocations: 154.5 kB / 0.6239 GB, free: 7.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5776, allocations: 374.8 kB / 0.6242 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.578, allocations: 201.9 kB / 0.6244 GB, free: 7.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.5785, allocations: 0.5163 MB / 0.6249 GB, free: 6.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.5794, allocations: 0.7408 MB / 0.6257 GB, free: 5.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.5795, allocations: 4 kB / 0.6257 GB, free: 5.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00146/0.5809, allocations: 0.8838 MB / 0.6265 GB, free: 4.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.581, allocations: 12 kB / 0.6265 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.581, allocations: 12.12 kB / 0.6265 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.5824, allocations: 320.5 kB / 0.6268 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.5828, allocations: 119.8 kB / 0.627 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.5839, allocations: 0.9308 MB / 0.6279 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5844, allocations: 27.98 kB / 0.6279 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.5845, allocations: 71.94 kB / 0.628 GB, free: 3.184 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.5848, allocations: 237.6 kB / 0.6282 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.5849, allocations: 75.09 kB / 0.6283 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.5864, allocations: 0.6823 MB / 0.6289 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5864, allocations: 4 kB / 0.6289 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5864, allocations: 0 / 0.6289 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5864, allocations: 3.984 kB / 0.6289 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.5886, allocations: 1.61 MB / 0.6305 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5886, allocations: 3.938 kB / 0.6305 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.5897, allocations: 211.9 kB / 0.6307 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.357e-05/0.5898, allocations: 20.84 kB / 0.6307 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.5898, allocations: 19.98 kB / 0.6308 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2063/0.7962, allocations: 2.874 MB / 0.6336 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7962, allocations: 1.312 kB / 0.6336 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.7975, allocations: 0.8095 MB / 0.6344 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.7979, allocations: 199.3 kB / 0.6345 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.798, allocations: 6.812 kB / 0.6345 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.7984, allocations: 19.86 kB / 0.6346 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.7985, allocations: 36.38 kB / 0.6346 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.7985, allocations: 45.2 kB / 0.6346 GB, free: 160.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005245/0.7991, allocations: 445.6 kB / 0.6351 GB, free: 160.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7991, allocations: 0 / 0.6351 GB, free: 160.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001036/0.8001, allocations: 289.1 kB / 0.6353 GB, free: 160.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007925/0.8009, allocations: 362 kB / 0.6357 GB, free: 160.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.802, allocations: 0.6025 MB / 0.6363 GB, free: 160.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.802, allocations: 3.438 kB / 0.6363 GB, free: 160.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.8029, allocations: 412.1 kB / 0.6367 GB, free: 160.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.8046, allocations: 381.7 kB / 0.637 GB, free: 160.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.8064, allocations: 1.321 MB / 0.6383 GB, free: 159.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.8068, allocations: 0.9325 MB / 0.6392 GB, free: 159 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009513/0.8078, allocations: 263.9 kB / 0.6395 GB, free: 158.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.808, allocations: 101.9 kB / 0.6396 GB, free: 158.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8081, allocations: 0 / 0.6396 GB, free: 158.9 MB / 494.1 MB Notification: Performance of Templates: time 0.02898/0.837, allocations: 18.34 MB / 0.6575 GB, free: 157.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)