Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.00178/0.00178, allocations: 200 kB / 18 MB, free: 5.18 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.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 52.27 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08465, allocations: 46.63 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2278/0.3125, allocations: 50.68 MB / 425.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.3194, allocations: 5.2 MB / 430.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/0.3199, allocations: 4 kB / 430.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.3208, allocations: 247 kB / 430.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000901/0.3218, allocations: 364.4 kB / 431 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02143/0.3432, allocations: 6.763 MB / 437.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.3449, allocations: 1.091 MB / 438.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.3452, allocations: 150.4 kB / 439 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006913/0.3521, allocations: 3.597 MB / 442.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.3527, allocations: 398.7 kB / 443 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.984e-05/0.3528, allocations: 59.94 kB / 443 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.3721, allocations: 9.811 MB / 452.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.3725, allocations: 223.5 kB / 453.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.373, allocations: 306.9 kB / 453.4 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.3879, allocations: 5.485 MB / 458.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.388, allocations: 0 / 458.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.388, allocations: 0 / 458.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.388, allocations: 0 / 458.8 MB, free: 11.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003431/0.3914, allocations: 1.35 MB / 460.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3915, allocations: 8.031 kB / 460.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.3919, allocations: 67.42 kB / 460.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.3924, allocations: 372.3 kB / 460.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.3924, allocations: 40.98 kB / 460.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.3925, allocations: 40 kB / 460.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.3937, allocations: 0.5843 MB / 461.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3938, allocations: 3.906 kB / 461.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.3938, allocations: 24 kB / 461.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3939, allocations: 8 kB / 461.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3952, allocations: 0.7495 MB / 462.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.411, allocations: 11.96 MB / 474 MB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.4124, allocations: 0.5275 MB / 474.6 MB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.4127, allocations: 250.1 kB / 474.8 MB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/0.4269, allocations: 11.9 MB / 486.7 MB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.427, allocations: 43 kB / 486.7 MB, free: 10.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.404e-06/0.427, allocations: 0 / 486.7 MB, free: 10.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005628/0.4326, allocations: 2.122 MB / 488.9 MB, free: 8.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4327, allocations: 59.95 kB / 488.9 MB, free: 8.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.433, allocations: 311 kB / 489.2 MB, free: 8.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.4331, allocations: 37.7 kB / 489.3 MB, free: 8.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4332, allocations: 204.3 kB / 489.5 MB, free: 7.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4334, allocations: 197.2 kB / 489.7 MB, free: 7.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.4336, allocations: 114.2 kB / 489.8 MB, free: 7.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4337, allocations: 350.7 kB / 490.1 MB, free: 7.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.4341, allocations: 237 kB / 490.3 MB, free: 7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.4347, allocations: 339.4 kB / 490.7 MB, free: 6.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.4358, allocations: 0.5995 MB / 491.3 MB, free: 6.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4359, allocations: 0 / 491.3 MB, free: 6.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001725/0.4376, allocations: 0.7558 MB / 492 MB, free: 5.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4376, allocations: 8 kB / 492 MB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4376, allocations: 3.938 kB / 492 MB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.4381, allocations: 110.5 kB / 492.1 MB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.4386, allocations: 119.9 kB / 492.3 MB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.441, allocations: 3.477 MB / 495.7 MB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.4413, allocations: 12 kB / 495.8 MB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.4414, allocations: 31.98 kB / 495.8 MB, free: 1.164 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.4416, allocations: 205.4 kB / 496 MB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.4419, allocations: 47.47 kB / 496 MB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.4434, allocations: 0.8152 MB / 496.8 MB, free: 60 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4435, allocations: 4 kB / 496.9 MB, free: 56 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4435, allocations: 0 / 496.9 MB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.4446, allocations: 0.7635 MB / 497.6 MB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.4465, allocations: 1.301 MB / 498.9 MB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4466, allocations: 0.875 kB / 498.9 MB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.447, allocations: 99.88 kB / 499 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009188/0.4479, allocations: 144.7 kB / 499.2 MB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.448, allocations: 23.92 kB / 499.2 MB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004526/0.4485, allocations: 0.6445 MB / 499.8 MB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4485, allocations: 7.938 kB / 499.8 MB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.4501, allocations: 0.9094 MB / 0.489 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4502, allocations: 112.6 kB / 0.4891 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.4503, allocations: 11.98 kB / 0.4891 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.4507, allocations: 19.98 kB / 0.4891 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.4507, allocations: 32.39 kB / 0.4892 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.4508, allocations: 31.98 kB / 0.4892 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.4511, allocations: 269.8 kB / 0.4895 GB, free: 11.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4511, allocations: 0 / 0.4895 GB, free: 11.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003455/0.4546, allocations: 1.304 MB / 0.4907 GB, free: 10.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004741/0.4593, allocations: 1.698 MB / 0.4924 GB, free: 8.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.4608, allocations: 0.7997 MB / 0.4932 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4608, allocations: 4.562 kB / 0.4932 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.4613, allocations: 295.1 kB / 0.4935 GB, free: 7.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4627, allocations: 269.1 kB / 0.4937 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.4645, allocations: 1.107 MB / 0.4948 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.4649, allocations: 0.8326 MB / 0.4956 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.4653, allocations: 144.3 kB / 0.4957 GB, free: 4.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4655, allocations: 59.42 kB / 0.4958 GB, free: 4.891 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4655, allocations: 0 / 0.4958 GB, free: 4.891 MB / 430.1 MB Notification: Performance of Templates: time 0.05797/0.5235, allocations: 46.59 MB / 0.5413 GB, free: 6.211 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)