Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01106/0.01106, allocations: 170 kB / 16.26 MB, free: 6.613 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.88/1.88, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3775/0.3775, allocations: 40 MB / 310.7 MB, free: 9.605 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.0005761/0.0005761, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1421, allocations: 57.97 MB / 437.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4139/0.556, allocations: 144 MB / 0.5678 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009393/0.5655, allocations: 5.666 MB / 0.5734 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.5669, allocations: 27.81 kB / 0.5734 GB, free: 13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.5683, allocations: 278.5 kB / 0.5737 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.571, allocations: 0.8166 MB / 0.5745 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.574, allocations: 0.9303 MB / 0.5754 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.5775, allocations: 2.663 MB / 0.578 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.5781, allocations: 397.4 kB / 0.5784 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.5793, allocations: 0.6654 MB / 0.579 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.5803, allocations: 0.7279 MB / 0.5797 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.659e-05/0.5804, allocations: 32 kB / 0.5797 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.5817, allocations: 0.5341 MB / 0.5803 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.5819, allocations: 231.3 kB / 0.5805 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.5823, allocations: 392 kB / 0.5809 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5834, allocations: 1.094 MB / 0.5819 GB, free: 4.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5835, allocations: 0 / 0.5819 GB, free: 4.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5835, allocations: 0 / 0.5819 GB, free: 4.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.5835, allocations: 0 / 0.5819 GB, free: 4.254 MB / 446.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.001854/0.5853, allocations: 0.9168 MB / 0.5828 GB, free: 3.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5854, allocations: 11.97 kB / 0.5828 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.5857, allocations: 96.02 kB / 0.5829 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.5865, allocations: 0.517 MB / 0.5834 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5866, allocations: 104.9 kB / 0.5835 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.5867, allocations: 48.56 kB / 0.5836 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.5879, allocations: 0.8188 MB / 0.5844 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.588, allocations: 0 / 0.5844 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.5881, allocations: 27.98 kB / 0.5844 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.5881, allocations: 36.98 kB / 0.5844 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009723/0.5891, allocations: 0.6517 MB / 0.5851 GB, free: 0.8633 MB / 446.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.004183/0.5933, allocations: 3.968 MB / 0.589 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.5941, allocations: 431.2 kB / 0.5894 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.5944, allocations: 205.4 kB / 0.5896 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/0.595, allocations: 0.7404 MB / 0.5903 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.595, allocations: 38.89 kB / 0.5903 GB, free: 11.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 4.007e-06/0.595, allocations: 4 kB / 0.5903 GB, free: 11.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003239/0.5983, allocations: 1.531 MB / 0.5918 GB, free: 9.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.5984, allocations: 140.5 kB / 0.592 GB, free: 9.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.5991, allocations: 0.5693 MB / 0.5925 GB, free: 8.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5991, allocations: 33.7 kB / 0.5925 GB, free: 8.645 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.5994, allocations: 351 kB / 0.5929 GB, free: 8.297 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.5996, allocations: 169.7 kB / 0.593 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.5997, allocations: 61.69 kB / 0.5931 GB, free: 8.062 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5998, allocations: 374.8 kB / 0.5935 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.6002, allocations: 217.9 kB / 0.5937 GB, free: 7.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.6007, allocations: 0.5201 MB / 0.5942 GB, free: 6.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.6017, allocations: 0.7562 MB / 0.5949 GB, free: 5.934 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.6017, allocations: 4 kB / 0.5949 GB, free: 5.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001622/0.6034, allocations: 0.9019 MB / 0.5958 GB, free: 5.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6034, allocations: 11.94 kB / 0.5958 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.6034, allocations: 12.5 kB / 0.5958 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.6049, allocations: 293.2 kB / 0.5961 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.6053, allocations: 127.7 kB / 0.5962 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.6063, allocations: 0.8834 MB / 0.5971 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.6069, allocations: 44.05 kB / 0.5971 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.6069, allocations: 35.98 kB / 0.5972 GB, free: 3.598 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003712/0.6073, allocations: 251.6 kB / 0.5974 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.6075, allocations: 67.16 kB / 0.5975 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.6088, allocations: 0.7709 MB / 0.5982 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6088, allocations: 12 kB / 0.5982 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6088, allocations: 0 / 0.5982 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.6089, allocations: 3.938 kB / 0.5982 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.6109, allocations: 1.417 MB / 0.5996 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.611, allocations: 4 kB / 0.5996 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.612, allocations: 203.7 kB / 0.5998 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.6121, allocations: 29.08 kB / 0.5998 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.6121, allocations: 23.97 kB / 0.5999 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.6143, allocations: 2.676 MB / 0.6025 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6144, allocations: 4.156 kB / 0.6025 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.6159, allocations: 1.015 MB / 0.6035 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.6163, allocations: 208.1 kB / 0.6037 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6165, allocations: 12 kB / 0.6037 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.617, allocations: 27.92 kB / 0.6037 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6172, allocations: 40.02 kB / 0.6037 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.6173, allocations: 27.97 kB / 0.6038 GB, free: 12.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006988/0.618, allocations: 427 kB / 0.6042 GB, free: 11.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.618, allocations: 0 / 0.6042 GB, free: 11.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001187/0.6192, allocations: 220 kB / 0.6044 GB, free: 11.72 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007683/0.6199, allocations: 263.1 kB / 0.6046 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.6214, allocations: 0.6068 MB / 0.6052 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6215, allocations: 0 / 0.6052 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.6227, allocations: 450.3 kB / 0.6057 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.625, allocations: 365.2 kB / 0.606 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.6282, allocations: 1.69 MB / 0.6077 GB, free: 8.316 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.629, allocations: 0.9465 MB / 0.6086 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009251/0.63, allocations: 209.1 kB / 0.6088 GB, free: 7.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.6302, allocations: 63.42 kB / 0.6088 GB, free: 7.078 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6302, allocations: 0 / 0.6088 GB, free: 7.078 MB / 478.1 MB Notification: Performance of Templates: time 0.02904/0.6592, allocations: 14.79 MB / 0.6233 GB, free: 8.328 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: