Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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-master/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-master/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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 174.1 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-master/package.mo): time 0.747/0.747, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.657/1.657, allocations: 221.3 MB / 400.4 MB, free: 5.879 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.0009084/0.0009087, allocations: 85.58 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.834e-05, allocations: 3.094 kB / 0.56 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 82.31 MB / 0.6404 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6489/0.862, allocations: 111.8 MB / 0.7496 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.8622, allocations: 82.95 kB / 0.7497 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008989/0.8712, allocations: 3.495 MB / 0.7531 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8713, allocations: 0 / 0.7531 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.8713, allocations: 0 / 0.7531 GB, free: 27.2 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.0002275/0.8715, allocations: 337.2 kB / 0.7534 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8716, allocations: 11.69 kB / 0.7534 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.8716, allocations: 0.625 kB / 0.7534 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.8717, allocations: 163 kB / 0.7536 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.8717, allocations: 0 / 0.7536 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.8717, allocations: 3.812 kB / 0.7536 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.8718, allocations: 32.42 kB / 0.7536 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8719, allocations: 0 / 0.7536 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.8719, allocations: 3.875 kB / 0.7536 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.8719, allocations: 0 / 0.7536 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.8719, allocations: 14.89 kB / 0.7536 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.8721, allocations: 155.4 kB / 0.7538 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.8721, allocations: 22.23 kB / 0.7538 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.8722, allocations: 11.98 kB / 0.7538 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.8722, allocations: 3.844 kB / 0.7538 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.8722, allocations: 34.5 kB / 0.7539 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.8722, allocations: 3.938 kB / 0.7539 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000115/0.8723, allocations: 40.09 kB / 0.7539 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.8724, allocations: 51.41 kB / 0.7539 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.8724, allocations: 92.41 kB / 0.754 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.8725, allocations: 29.86 kB / 0.7541 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.8725, allocations: 82.91 kB / 0.7541 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.8725, allocations: 3.906 kB / 0.7541 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.8725, allocations: 0 / 0.7541 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8727, allocations: 318.2 kB / 0.7545 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.8727, allocations: 0 / 0.7545 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-06/0.8727, allocations: 3.844 kB / 0.7545 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.565e-05/0.8727, allocations: 3.953 kB / 0.7545 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8727, allocations: 4.062 kB / 0.7545 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.019e-05/0.8728, allocations: 47.28 kB / 0.7545 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8728, allocations: 4.938 kB / 0.7545 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8728, allocations: 0 / 0.7545 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8728, allocations: 0 / 0.7545 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.8729, allocations: 10.41 kB / 0.7545 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003625/0.8733, allocations: 0.5825 MB / 0.7551 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.8733, allocations: 8.078 kB / 0.7551 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.8734, allocations: 0 / 0.7551 GB, free: 25.07 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.012e-05/0.8734, allocations: 101 kB / 0.7552 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.8734, allocations: 3.844 kB / 0.7552 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-05/0.8735, allocations: 47.27 kB / 0.7552 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8735, allocations: 2.766 kB / 0.7552 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.8735, allocations: 0 / 0.7552 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-06/0.8735, allocations: 0 / 0.7552 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.09e-05/0.8736, allocations: 159.9 kB / 0.7554 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8736, allocations: 0 / 0.7554 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.8737, allocations: 10.2 kB / 0.7554 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8737, allocations: 0 / 0.7554 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.8737, allocations: 0 / 0.7554 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002842/0.874, allocations: 0.5943 MB / 0.756 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.874, allocations: 0 / 0.756 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.969e-05/0.8741, allocations: 63.16 kB / 0.756 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.8741, allocations: 81.05 kB / 0.7561 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-06/0.8742, allocations: 3.844 kB / 0.7561 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.8742, allocations: 7.562 kB / 0.7561 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.8742, allocations: 3.953 kB / 0.7561 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.8742, allocations: 0 / 0.7561 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.8742, allocations: 82 kB / 0.7562 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8742, allocations: 4.094 kB / 0.7562 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001887/0.8744, allocations: 19.69 kB / 0.7562 GB, free: 23.88 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.0001693/0.8746, allocations: 113 kB / 0.7563 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.8747, allocations: 21.28 kB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8748, allocations: 3.719 kB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.8748, allocations: 10.38 kB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.407e-05/0.8749, allocations: 5.625 kB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001111/0.8751, allocations: 60.31 kB / 0.7564 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.8754, allocations: 0.6757 MB / 0.7571 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.178e-05/0.8754, allocations: 0 / 0.7571 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.8754, allocations: 7.438 kB / 0.7571 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8754, allocations: 3.938 kB / 0.7571 GB, free: 23 MB / 0.5105 GB Notification: Performance of Templates: time 0.002172/0.8776, allocations: 421.2 kB / 0.7575 GB, free: 22.94 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)