Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108 kB / 15.6 MB, free: 132 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.001638/0.001639, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.748/1.748, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.326/0.326, allocations: 39.94 MB / 309.7 MB, free: 9.301 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.2. 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.001634/0.001635, allocations: 64.45 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1246, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4273/0.552, allocations: 183.1 MB / 0.6031 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.5622, allocations: 6.97 MB / 0.6099 GB, free: 5.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.5632, allocations: 23.88 kB / 0.61 GB, free: 5.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.5651, allocations: 433.6 kB / 0.6104 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006248/0.5714, allocations: 2.017 MB / 0.6123 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004853/0.5762, allocations: 1.701 MB / 0.614 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.5798, allocations: 2.225 MB / 0.6162 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.5813, allocations: 0.7716 MB / 0.6169 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.5859, allocations: 1.929 MB / 0.6188 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.5888, allocations: 1.581 MB / 0.6204 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004455/0.5893, allocations: 100 kB / 0.6204 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003913/0.5932, allocations: 1.63 MB / 0.622 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.5942, allocations: 0.6859 MB / 0.6227 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.596, allocations: 0.7587 MB / 0.6234 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.6012, allocations: 2.77 MB / 0.6262 GB, free: 4.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6012, allocations: 0 / 0.6262 GB, free: 4.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6012, allocations: 0 / 0.6262 GB, free: 4.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.113e-05/0.6013, allocations: 3.938 kB / 0.6262 GB, free: 4.68 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004444/0.6058, allocations: 1.685 MB / 0.6278 GB, free: 2.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6058, allocations: 12.03 kB / 0.6278 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.6076, allocations: 310.2 kB / 0.6281 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.6091, allocations: 0.7386 MB / 0.6288 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.6093, allocations: 141.3 kB / 0.629 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.6095, allocations: 111.9 kB / 0.6291 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2038/0.8134, allocations: 1.835 MB / 0.6309 GB, free: 161.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.417e-05/0.8135, allocations: 1.594 kB / 0.6309 GB, free: 161.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/0.8139, allocations: 48.98 kB / 0.6309 GB, free: 161.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.8141, allocations: 96.7 kB / 0.631 GB, free: 161.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.8176, allocations: 1.69 MB / 0.6327 GB, free: 161.2 MB / 494.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.00995/0.8276, allocations: 7.039 MB / 0.6395 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.8287, allocations: 0.865 MB / 0.6404 GB, free: 156.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.8293, allocations: 454.9 kB / 0.6408 GB, free: 156.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.8294, allocations: 133 kB / 0.6409 GB, free: 156.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.8295, allocations: 49.11 kB / 0.641 GB, free: 156.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.8295, allocations: 3.969 kB / 0.641 GB, free: 156.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.009993/0.8395, allocations: 4.241 MB / 0.6451 GB, free: 154.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.8396, allocations: 113.1 kB / 0.6452 GB, free: 154.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.8406, allocations: 1.107 MB / 0.6463 GB, free: 154 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/0.8407, allocations: 43.86 kB / 0.6464 GB, free: 153.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.8409, allocations: 0.5233 MB / 0.6469 GB, free: 153.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.8411, allocations: 261.4 kB / 0.6471 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.8414, allocations: 209 kB / 0.6473 GB, free: 153.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.8415, allocations: 353.9 kB / 0.6477 GB, free: 152.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.8422, allocations: 0.5834 MB / 0.6482 GB, free: 152.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/0.8431, allocations: 0.8724 MB / 0.6491 GB, free: 152.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.8446, allocations: 1.449 MB / 0.6505 GB, free: 151.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8447, allocations: 7.125 kB / 0.6505 GB, free: 151.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002632/0.8473, allocations: 1.999 MB / 0.6525 GB, free: 150.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.8473, allocations: 9.031 kB / 0.6525 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.8474, allocations: 12.52 kB / 0.6525 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004328/0.8517, allocations: 1.326 MB / 0.6538 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.8523, allocations: 141.7 kB / 0.6539 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.8546, allocations: 1.927 MB / 0.6558 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008974/0.8555, allocations: 43.92 kB / 0.6558 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/0.8556, allocations: 65.59 kB / 0.6559 GB, free: 149.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0005472/0.8561, allocations: 400.2 kB / 0.6563 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.8563, allocations: 111.7 kB / 0.6564 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.8584, allocations: 1.401 MB / 0.6577 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.8584, allocations: 13.09 kB / 0.6578 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8584, allocations: 0 / 0.6578 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.8584, allocations: 8.297 kB / 0.6578 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.8617, allocations: 2.692 MB / 0.6604 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8617, allocations: 3.516 kB / 0.6604 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.8635, allocations: 323.9 kB / 0.6607 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.8637, allocations: 72.39 kB / 0.6608 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.771e-05/0.8638, allocations: 38.52 kB / 0.6608 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.8656, allocations: 3.026 MB / 0.6638 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8656, allocations: 1.125 kB / 0.6638 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.8682, allocations: 1.896 MB / 0.6656 GB, free: 143.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.8688, allocations: 343 kB / 0.6659 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.869, allocations: 25.73 kB / 0.666 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.8699, allocations: 50.22 kB / 0.666 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.87, allocations: 64.91 kB / 0.6661 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8702, allocations: 67.59 kB / 0.6661 GB, free: 143.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008945/0.8711, allocations: 0.7922 MB / 0.6669 GB, free: 142.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8711, allocations: 1.531 kB / 0.6669 GB, free: 142.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0014/0.8725, allocations: 0.5216 MB / 0.6674 GB, free: 142.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.002074/0.8746, allocations: 0.8092 MB / 0.6682 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.8775, allocations: 1.795 MB / 0.67 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8776, allocations: 2.156 kB / 0.67 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.879, allocations: 0.8609 MB / 0.6708 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.8821, allocations: 0.7625 MB / 0.6716 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.8865, allocations: 2.92 MB / 0.6744 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.8873, allocations: 1.182 MB / 0.6756 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001466/0.8888, allocations: 414.7 kB / 0.676 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.8892, allocations: 108.7 kB / 0.6761 GB, free: 139.3 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8892, allocations: 0 / 0.6761 GB, free: 139.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05109/0.9403, allocations: 39.54 MB / 0.7147 GB, free: 108.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)