Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3143/0.3143, allocations: 55.01 MB / 69.96 MB, free: 8.723 MB / 58.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001379/0.001379, allocations: 180 kB / 83.97 MB, free: 10.89 MB / 74.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.76/1.76, allocations: 194.4 MB / 292.3 MB, free: 3.629 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001672/0.001672, allocations: 106 kB / 350.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.000418, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 57.64 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.5987, allocations: 85.62 MB / 0.549 GB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5989, allocations: 83.75 kB / 0.549 GB, free: 3.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003069/0.602, allocations: 1.038 MB / 0.5501 GB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.602, allocations: 0 / 0.5501 GB, free: 2.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.6021, allocations: 0 / 0.5501 GB, free: 2.742 MB / 362.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.0002646/0.6023, allocations: 331.9 kB / 0.5504 GB, free: 2.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.6024, allocations: 8.031 kB / 0.5504 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.6024, allocations: 0 / 0.5504 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.6025, allocations: 174.6 kB / 0.5505 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6026, allocations: 0 / 0.5505 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.6026, allocations: 0 / 0.5505 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.6031, allocations: 89.59 kB / 0.5506 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6031, allocations: 0 / 0.5506 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6031, allocations: 7.547 kB / 0.5506 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6031, allocations: 4 kB / 0.5506 GB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.6035, allocations: 67.88 kB / 0.5507 GB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.6036, allocations: 145.2 kB / 0.5508 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.604, allocations: 86.34 kB / 0.5509 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.6043, allocations: 113.1 kB / 0.551 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.6043, allocations: 30.56 kB / 0.5511 GB, free: 1.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.6043, allocations: 0 / 0.5511 GB, free: 1.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007974/0.6051, allocations: 165.3 kB / 0.5512 GB, free: 1.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.6052, allocations: 55.39 kB / 0.5513 GB, free: 1.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.6052, allocations: 92.69 kB / 0.5514 GB, free: 1.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.6053, allocations: 25.7 kB / 0.5514 GB, free: 1.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.6053, allocations: 80.14 kB / 0.5515 GB, free: 1.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.6053, allocations: 3.906 kB / 0.5515 GB, free: 1.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.6053, allocations: 0 / 0.5515 GB, free: 1.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.6054, allocations: 317.8 kB / 0.5518 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.6055, allocations: 20.14 kB / 0.5518 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6057, allocations: 23.91 kB / 0.5518 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.6058, allocations: 24.05 kB / 0.5518 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6058, allocations: 0 / 0.5518 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.606, allocations: 77.25 kB / 0.5519 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.606, allocations: 9.719 kB / 0.5519 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.606, allocations: 0 / 0.5519 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6061, allocations: 0 / 0.5519 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.6077, allocations: 259.8 kB / 0.5522 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.6105, allocations: 1.626 MB / 0.5538 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.6106, allocations: 12.02 kB / 0.5538 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.6106, allocations: 3.938 kB / 0.5538 GB, free: 14.64 MB / 378.7 MB 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 () * Number of clocked 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 8.697e-05/0.6107, allocations: 105.8 kB / 0.5539 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.6108, allocations: 7.906 kB / 0.5539 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.6108, allocations: 11.05 kB / 0.5539 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6108, allocations: 4.062 kB / 0.5539 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6108, allocations: 3.953 kB / 0.5539 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.6108, allocations: 3.984 kB / 0.5539 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.611, allocations: 145.7 kB / 0.554 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.611, allocations: 3.984 kB / 0.554 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.6127, allocations: 267.5 kB / 0.5543 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6127, allocations: 0 / 0.5543 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.6128, allocations: 4 kB / 0.5543 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.6156, allocations: 1.614 MB / 0.5559 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6156, allocations: 3.953 kB / 0.5559 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.6159, allocations: 100.4 kB / 0.556 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.6159, allocations: 77.11 kB / 0.5561 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.616, allocations: 0 / 0.5561 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.616, allocations: 15.92 kB / 0.5561 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.6161, allocations: 3.953 kB / 0.5561 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.6161, allocations: 0 / 0.5561 GB, free: 12.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.257e-05/0.6161, allocations: 85.89 kB / 0.5562 GB, free: 12.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6161, allocations: 0 / 0.5562 GB, free: 12.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.6163, allocations: 10.44 kB / 0.5562 GB, free: 12 MB / 378.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 () * Number of clocked 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.000151/0.6165, allocations: 99.25 kB / 0.5563 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.6183, allocations: 282.7 kB / 0.5565 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6184, allocations: 0 / 0.5565 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.6211, allocations: 391.7 kB / 0.5569 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.6212, allocations: 3.859 kB / 0.5569 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.6233, allocations: 450.3 kB / 0.5573 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.6236, allocations: 0.677 MB / 0.558 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.6236, allocations: 0 / 0.558 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.6237, allocations: 11.44 kB / 0.558 GB, free: 10.07 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6237, allocations: 0 / 0.558 GB, free: 10.07 MB / 378.7 MB Notification: Performance of Templates: time 0.002365/0.626, allocations: 447.3 kB / 0.5584 GB, free: 9.652 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)