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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009237/0.0009241, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009838, allocations: 187.7 kB / 16.92 MB, free: 6.773 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9363/0.9363, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 12 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 82.31 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001292/0.1638, allocations: 0.9672 MB / 0.5896 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.1648, allocations: 0.5973 MB / 0.5901 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.1648, allocations: 0 / 0.5901 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.1648, allocations: 3.938 kB / 0.5901 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.1649, allocations: 3.984 kB / 0.5901 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1653, allocations: 119.6 kB / 0.5903 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.1654, allocations: 7.938 kB / 0.5903 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.1654, allocations: 3.938 kB / 0.5903 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1654, allocations: 11.98 kB / 0.5903 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.1655, allocations: 0 / 0.5903 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1655, allocations: 4 kB / 0.5903 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.166, allocations: 347.3 kB / 0.5906 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.166, allocations: 0 / 0.5906 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.166, allocations: 29.64 kB / 0.5906 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1662, allocations: 96.11 kB / 0.5907 GB, free: 444 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1662, allocations: 0 / 0.5907 GB, free: 444 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1662, allocations: 0 / 0.5907 GB, free: 444 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1662, allocations: 0 / 0.5907 GB, free: 444 kB / 494.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.0003512/0.1666, allocations: 347.5 kB / 0.5911 GB, free: 48 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1666, allocations: 16.03 kB / 0.5911 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.1667, allocations: 8.844 kB / 0.5911 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1668, allocations: 160.4 kB / 0.5912 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1668, allocations: 384 / 0.5912 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1668, allocations: 4.375 kB / 0.5913 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.1669, allocations: 33.83 kB / 0.5913 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1669, allocations: 4 kB / 0.5913 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1669, allocations: 0 / 0.5913 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1669, allocations: 7.875 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.167, allocations: 7.984 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.1671, allocations: 149.7 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.1672, allocations: 22.61 kB / 0.5915 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.1672, allocations: 8.844 kB / 0.5915 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1672, allocations: 0 / 0.5915 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1673, allocations: 42.56 kB / 0.5915 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1673, allocations: 0 / 0.5915 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.1674, allocations: 41.64 kB / 0.5916 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1674, allocations: 51.41 kB / 0.5916 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.1675, allocations: 101.8 kB / 0.5917 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1675, allocations: 25.7 kB / 0.5917 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.1676, allocations: 80.14 kB / 0.5918 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1676, allocations: 3.906 kB / 0.5918 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.1676, allocations: 13.72 kB / 0.5918 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1678, allocations: 319.1 kB / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1678, allocations: 3.938 kB / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.1678, allocations: 4 kB / 0.5921 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.1678, allocations: 16.78 kB / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1678, allocations: 0 / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.06e-05/0.1679, allocations: 41.64 kB / 0.5922 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1679, allocations: 4 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1679, allocations: 4 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1679, allocations: 4.094 kB / 0.5922 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1681, allocations: 11.98 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003536/0.1685, allocations: 0.586 MB / 0.5928 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1685, allocations: 0 / 0.5928 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1685, allocations: 0 / 0.5928 GB, free: 14.09 MB / 0.4981 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 () * 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 7.904e-05/0.1686, allocations: 117.9 kB / 0.5929 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.1686, allocations: 4 kB / 0.5929 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.1687, allocations: 48.72 kB / 0.5929 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1687, allocations: 3.984 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1687, allocations: 0 / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1687, allocations: 0 / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1688, allocations: 153.6 kB / 0.5931 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1689, allocations: 0 / 0.5931 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.1689, allocations: 15.92 kB / 0.5931 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1689, allocations: 0 / 0.5931 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.169, allocations: 4.031 kB / 0.5931 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000284/0.1692, allocations: 0.5938 MB / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1693, allocations: 0 / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.335e-05/0.1693, allocations: 61.12 kB / 0.5938 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.1694, allocations: 81.23 kB / 0.5938 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.1694, allocations: 0 / 0.5938 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.1694, allocations: 11.94 kB / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.1694, allocations: 0 / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1694, allocations: 0 / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.1695, allocations: 79.22 kB / 0.5939 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1695, allocations: 4 kB / 0.5939 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001846/0.1697, allocations: 4 kB / 0.5939 GB, free: 12.8 MB / 0.4981 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 () * 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.0001553/0.1698, allocations: 119.3 kB / 0.594 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.17, allocations: 19.98 kB / 0.5941 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.17, allocations: 0 / 0.5941 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1701, allocations: 15.98 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1702, allocations: 0 / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.1705, allocations: 156.3 kB / 0.5942 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1707, allocations: 0.677 MB / 0.5949 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.1708, allocations: 7.438 kB / 0.5949 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1708, allocations: 0 / 0.5949 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.00204/0.1728, allocations: 0.6819 MB / 0.5956 GB, free: 11.06 MB / 0.4981 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)