Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3103/0.3103, allocations: 54.4 MB / 61.88 MB, free: 13.76 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001063/0.001063, allocations: 172.2 kB / 75.6 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.759/1.759, allocations: 194.3 MB / 283.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00158/0.00158, allocations: 121.1 kB / 341.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.121e-05, allocations: 4 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3899, allocations: 57.65 MB / 463.2 MB, free: 51.69 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5227, allocations: 85.29 MB / 0.5356 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.523, allocations: 82.62 kB / 0.5357 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006346/0.5294, allocations: 2.051 MB / 0.5377 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5294, allocations: 0 / 0.5377 GB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5294, allocations: 2.719 kB / 0.5377 GB, free: 13.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000344/0.5298, allocations: 327.1 kB / 0.538 GB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5298, allocations: 8.031 kB / 0.538 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.5299, allocations: 3.906 kB / 0.538 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.53, allocations: 168.4 kB / 0.5382 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5301, allocations: 0 / 0.5382 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.5301, allocations: 3.281 kB / 0.5382 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.161e-05/0.5301, allocations: 7.953 kB / 0.5382 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.5302, allocations: 29.69 kB / 0.5382 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5302, allocations: 0 / 0.5382 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.5302, allocations: 7.938 kB / 0.5382 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5303, allocations: 0 / 0.5382 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.5304, allocations: 133 kB / 0.5383 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.5305, allocations: 22.67 kB / 0.5383 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.5305, allocations: 12.86 kB / 0.5384 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.5308, allocations: 105.1 kB / 0.5385 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5309, allocations: 42.44 kB / 0.5385 GB, free: 12.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5309, allocations: 0 / 0.5385 GB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007418/0.5316, allocations: 137.5 kB / 0.5386 GB, free: 12.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5317, allocations: 55.44 kB / 0.5387 GB, free: 12.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.5318, allocations: 92.88 kB / 0.5388 GB, free: 12.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.5318, allocations: 25.7 kB / 0.5388 GB, free: 12.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.5319, allocations: 80.14 kB / 0.5389 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.5319, allocations: 11.84 kB / 0.5389 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5319, allocations: 0 / 0.5389 GB, free: 12.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5321, allocations: 318.8 kB / 0.5392 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.5321, allocations: 4 kB / 0.5392 GB, free: 12.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.5321, allocations: 8.125 kB / 0.5392 GB, free: 12.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.5321, allocations: 8 kB / 0.5392 GB, free: 12.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5321, allocations: 0 / 0.5392 GB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.632e-05/0.5322, allocations: 38.34 kB / 0.5392 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5323, allocations: 8 kB / 0.5393 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5323, allocations: 0 / 0.5393 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5323, allocations: 0 / 0.5393 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.5347, allocations: 447.6 kB / 0.5397 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.5372, allocations: 1.517 MB / 0.5412 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5374, allocations: 16.02 kB / 0.5412 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5374, allocations: 2.625 kB / 0.5412 GB, free: 9.914 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: dp:VARIABLE(unit = "Pa" ) "Pressure difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001994/0.5376, allocations: 115.1 kB / 0.5413 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.5376, allocations: 7.969 kB / 0.5413 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.5376, allocations: 3.75 kB / 0.5413 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5376, allocations: 0 / 0.5413 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.5376, allocations: 0 / 0.5413 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5377, allocations: 3.953 kB / 0.5413 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.5378, allocations: 135.4 kB / 0.5414 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5378, allocations: 4 kB / 0.5414 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/0.5401, allocations: 455.5 kB / 0.5419 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5401, allocations: 4 kB / 0.5419 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5402, allocations: 0 / 0.5419 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.5425, allocations: 1.515 MB / 0.5434 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5425, allocations: 0 / 0.5434 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.5426, allocations: 69.11 kB / 0.5434 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.5426, allocations: 81.02 kB / 0.5435 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.5427, allocations: 0 / 0.5435 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.5428, allocations: 20.08 kB / 0.5435 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.5428, allocations: 7.922 kB / 0.5435 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.5428, allocations: 0 / 0.5435 GB, free: 7.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.5429, allocations: 79.28 kB / 0.5436 GB, free: 7.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5429, allocations: 0 / 0.5436 GB, free: 7.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.5431, allocations: 8 kB / 0.5436 GB, free: 7.234 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.000174/0.5433, allocations: 116.1 kB / 0.5437 GB, free: 7.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.5455, allocations: 427.5 kB / 0.5441 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5455, allocations: 0 / 0.5441 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/0.5488, allocations: 0.5893 MB / 0.5447 GB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.5489, allocations: 11.7 kB / 0.5447 GB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.5517, allocations: 0.5927 MB / 0.5453 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.552, allocations: 0.6729 MB / 0.5459 GB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.552, allocations: 7.938 kB / 0.546 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.5521, allocations: 11.44 kB / 0.546 GB, free: 4.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5521, allocations: 0 / 0.546 GB, free: 4.77 MB / 394.7 MB Notification: Performance of Templates: time 0.002375/0.5544, allocations: 475.5 kB / 0.5464 GB, free: 4.336 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)