Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001501/0.001501, allocations: 189.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8194/0.8194, allocations: 135.1 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 80.92 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002432/0.3631, allocations: 1.25 MB / 0.5862 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.364, allocations: 0.5895 MB / 0.5868 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.364, allocations: 1.094 kB / 0.5868 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.3641, allocations: 0 / 0.5868 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.3641, allocations: 7.875 kB / 0.5868 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.3647, allocations: 143.6 kB / 0.587 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.3648, allocations: 10.22 kB / 0.587 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3648, allocations: 6.297 kB / 0.587 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.3649, allocations: 1.375 kB / 0.587 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.3649, allocations: 7.078 kB / 0.587 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3649, allocations: 1.188 kB / 0.587 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3654, allocations: 341.6 kB / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.3654, allocations: 1 kB / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.3654, allocations: 10.75 kB / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3657, allocations: 137.5 kB / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3657, allocations: 1.094 kB / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3657, allocations: 0 / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3657, allocations: 0 / 0.5874 GB, free: 23.46 MB / 446.1 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.0003022/0.366, allocations: 360.7 kB / 0.5878 GB, free: 23.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3661, allocations: 12.2 kB / 0.5878 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.3661, allocations: 0.9375 kB / 0.5878 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.3662, allocations: 161.6 kB / 0.588 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3662, allocations: 2.844 kB / 0.588 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.3662, allocations: 1.562 kB / 0.588 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.3663, allocations: 44.88 kB / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.3663, allocations: 0 / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3663, allocations: 2.781 kB / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3664, allocations: 0 / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.3664, allocations: 3.594 kB / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.3665, allocations: 148.3 kB / 0.5882 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.3665, allocations: 25.53 kB / 0.5882 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.3666, allocations: 7.891 kB / 0.5882 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3666, allocations: 4.562 kB / 0.5882 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3666, allocations: 41.5 kB / 0.5882 GB, free: 22.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3666, allocations: 0 / 0.5882 GB, free: 22.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.00013/0.3668, allocations: 35.27 kB / 0.5883 GB, free: 22.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.3668, allocations: 52.03 kB / 0.5883 GB, free: 22.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.3668, allocations: 103.1 kB / 0.5884 GB, free: 22.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.3669, allocations: 26.86 kB / 0.5884 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.269e-05/0.3669, allocations: 80.14 kB / 0.5885 GB, free: 22.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3669, allocations: 9.344 kB / 0.5885 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.3669, allocations: 17.31 kB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.367, allocations: 310.8 kB / 0.5888 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.367, allocations: 8.672 kB / 0.5888 GB, free: 21.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.367, allocations: 5.438 kB / 0.5888 GB, free: 21.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.3671, allocations: 14.3 kB / 0.5889 GB, free: 21.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3671, allocations: 5.25 kB / 0.5889 GB, free: 21.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.121e-05/0.3671, allocations: 38.52 kB / 0.5889 GB, free: 21.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3671, allocations: 5.156 kB / 0.5889 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3672, allocations: 0 / 0.5889 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3672, allocations: 6.375 kB / 0.5889 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3674, allocations: 11.33 kB / 0.5889 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000236/0.3676, allocations: 0.586 MB / 0.5895 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.3676, allocations: 4 kB / 0.5895 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3676, allocations: 5.188 kB / 0.5895 GB, free: 21.23 MB / 446.1 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 (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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.3677, allocations: 116.4 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.3677, allocations: 5.031 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.181e-05/0.3678, allocations: 41.55 kB / 0.5897 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3678, allocations: 1.312 kB / 0.5897 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3678, allocations: 2.344 kB / 0.5897 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3678, allocations: 3.984 kB / 0.5897 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.061e-05/0.3679, allocations: 152.3 kB / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3679, allocations: 5.188 kB / 0.5898 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.368, allocations: 11.77 kB / 0.5898 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.368, allocations: 0 / 0.5898 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.368, allocations: 1.5 kB / 0.5898 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001696/0.3682, allocations: 0.585 MB / 0.5904 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3682, allocations: 1.531 kB / 0.5904 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.629e-05/0.3683, allocations: 67.78 kB / 0.5905 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.3683, allocations: 77.11 kB / 0.5905 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3683, allocations: 1.281 kB / 0.5905 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.3683, allocations: 3.938 kB / 0.5905 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.3684, allocations: 6.922 kB / 0.5906 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3684, allocations: 1.219 kB / 0.5906 GB, free: 20.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.878e-05/0.3684, allocations: 80.58 kB / 0.5906 GB, free: 20.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3684, allocations: 0.6562 kB / 0.5906 GB, free: 20.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.3686, allocations: 11.94 kB / 0.5906 GB, free: 20.02 MB / 446.1 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 (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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.3688, allocations: 117.7 kB / 0.5908 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.3689, allocations: 13.22 kB / 0.5908 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3689, allocations: 0.9375 kB / 0.5908 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.369, allocations: 19.92 kB / 0.5908 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.3692, allocations: 5.438 kB / 0.5908 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.3695, allocations: 134.5 kB / 0.5909 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.3696, allocations: 0.6761 MB / 0.5916 GB, free: 19.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.3696, allocations: 12.62 kB / 0.5916 GB, free: 19.05 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3696, allocations: 0.6562 kB / 0.5916 GB, free: 19.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002242/0.3719, allocations: 0.6936 MB / 0.5923 GB, free: 18.73 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)