Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7426/0.7426, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.3 MB / 396.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008359/0.0008362, allocations: 86.91 kB / 478.9 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.566e-05, allocations: 5.969 kB / 0.5551 GB, free: 86.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1751, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6277/0.8029, allocations: 111.5 MB / 0.7436 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.8031, allocations: 81.39 kB / 0.7437 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006423/0.8095, allocations: 2.307 MB / 0.7459 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8096, allocations: 0 / 0.7459 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8096, allocations: 0 / 0.7459 GB, free: 27.89 MB / 0.5105 GB 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.0002719/0.8099, allocations: 334.7 kB / 0.7463 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.8099, allocations: 11.56 kB / 0.7463 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.81, allocations: 4.625 kB / 0.7463 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.8101, allocations: 165.4 kB / 0.7464 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8101, allocations: 0 / 0.7464 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.8101, allocations: 3.969 kB / 0.7464 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.8102, allocations: 29.64 kB / 0.7465 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8102, allocations: 1.594 kB / 0.7465 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8102, allocations: 7.656 kB / 0.7465 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8103, allocations: 4.5 kB / 0.7465 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.8103, allocations: 3.875 kB / 0.7465 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.8104, allocations: 163.5 kB / 0.7466 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.8105, allocations: 26.2 kB / 0.7467 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.8105, allocations: 4.859 kB / 0.7467 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.8105, allocations: 6.219 kB / 0.7467 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.8106, allocations: 30.56 kB / 0.7467 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.8106, allocations: 0 / 0.7467 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.8107, allocations: 41.45 kB / 0.7467 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.8108, allocations: 57.45 kB / 0.7468 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.8108, allocations: 88.78 kB / 0.7469 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.8109, allocations: 25.7 kB / 0.7469 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.8109, allocations: 84.02 kB / 0.747 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.8109, allocations: 3.906 kB / 0.747 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.8109, allocations: 0 / 0.747 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8111, allocations: 321 kB / 0.7473 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.8111, allocations: 4 kB / 0.7473 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-06/0.8111, allocations: 3.844 kB / 0.7473 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.41e-05/0.8111, allocations: 0 / 0.7473 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8111, allocations: 0 / 0.7473 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.737e-05/0.8112, allocations: 47.36 kB / 0.7473 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.8112, allocations: 3.781 kB / 0.7473 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8112, allocations: 0 / 0.7473 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.8112, allocations: 0 / 0.7473 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.8114, allocations: 9.922 kB / 0.7474 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003698/0.8118, allocations: 0.5903 MB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.8118, allocations: 3.906 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.8118, allocations: 2.344 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB 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 6.744e-05/0.8119, allocations: 104.8 kB / 0.748 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.8119, allocations: 3.875 kB / 0.748 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.812, allocations: 50.73 kB / 0.7481 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.812, allocations: 0 / 0.7481 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.812, allocations: 0 / 0.7481 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.812, allocations: 3.953 kB / 0.7481 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.075e-05/0.8121, allocations: 157.4 kB / 0.7482 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8121, allocations: 0 / 0.7482 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.8122, allocations: 14.16 kB / 0.7483 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8122, allocations: 0 / 0.7483 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.8122, allocations: 0 / 0.7483 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003448/0.8126, allocations: 0.5933 MB / 0.7488 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8126, allocations: 3.812 kB / 0.7488 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.968e-05/0.8127, allocations: 63.89 kB / 0.7489 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.8127, allocations: 77.11 kB / 0.749 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.8127, allocations: 2.203 kB / 0.749 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.8128, allocations: 15.86 kB / 0.749 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.8128, allocations: 0 / 0.749 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.8128, allocations: 0 / 0.749 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.8128, allocations: 79.19 kB / 0.7491 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8128, allocations: 0 / 0.7491 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001906/0.813, allocations: 11.69 kB / 0.7491 GB, free: 24.56 MB / 0.5105 GB 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.0001594/0.8132, allocations: 114.8 kB / 0.7492 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.8133, allocations: 21.97 kB / 0.7492 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8134, allocations: 0 / 0.7492 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.8134, allocations: 17.89 kB / 0.7492 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.643e-05/0.8135, allocations: 0 / 0.7492 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.8137, allocations: 48.14 kB / 0.7493 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.814, allocations: 0.6776 MB / 0.7499 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.814, allocations: 128 / 0.7499 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.814, allocations: 11.44 kB / 0.7499 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.814, allocations: 3.938 kB / 0.7499 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.002098/0.8161, allocations: 424.4 kB / 0.7504 GB, free: 23.63 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)