Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001528/0.001528, allocations: 193.5 kB / 16.14 MB, free: 6.695 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.821/0.821, allocations: 132.2 MB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.42 kB / 0.5011 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1479, allocations: 80.2 MB / 0.5794 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002239/0.1501, allocations: 1.306 MB / 0.5807 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1512, allocations: 0.6167 MB / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.1512, allocations: 0 / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.1512, allocations: 0 / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.1513, allocations: 0 / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.1517, allocations: 127.5 kB / 0.5814 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.1518, allocations: 4 kB / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1518, allocations: 0 / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.1519, allocations: 8 kB / 0.5814 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.1519, allocations: 7.984 kB / 0.5814 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1519, allocations: 0 / 0.5814 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.1524, allocations: 343.3 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1525, allocations: 3.938 kB / 0.5818 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.1525, allocations: 8 kB / 0.5818 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1527, allocations: 131.9 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1527, allocations: 4 kB / 0.5819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1527, allocations: 4 kB / 0.5819 GB, free: 6.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1527, allocations: 0 / 0.5819 GB, free: 6.664 MB / 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.0003826/0.1531, allocations: 355.4 kB / 0.5823 GB, free: 6.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1532, allocations: 8.031 kB / 0.5823 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.1532, allocations: 0.9375 kB / 0.5823 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1533, allocations: 164.4 kB / 0.5824 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1533, allocations: 4.375 kB / 0.5824 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1533, allocations: 384 / 0.5824 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.1534, allocations: 41.77 kB / 0.5825 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1534, allocations: 0 / 0.5825 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1535, allocations: 0 / 0.5825 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1535, allocations: 7.984 kB / 0.5825 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.1535, allocations: 4 kB / 0.5825 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.1537, allocations: 149.7 kB / 0.5826 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.1537, allocations: 22.61 kB / 0.5826 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.1537, allocations: 8.859 kB / 0.5827 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1538, allocations: 8 kB / 0.5827 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1538, allocations: 42.48 kB / 0.5827 GB, free: 5.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1538, allocations: 0 / 0.5827 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.1539, allocations: 33.7 kB / 0.5827 GB, free: 5.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.154, allocations: 55.41 kB / 0.5828 GB, free: 5.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.014e-05/0.154, allocations: 97.8 kB / 0.5829 GB, free: 5.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1541, allocations: 25.7 kB / 0.5829 GB, free: 5.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.1541, allocations: 84.12 kB / 0.583 GB, free: 5.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1541, allocations: 12.09 kB / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1542, allocations: 17.72 kB / 0.583 GB, free: 5.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.1543, allocations: 310.8 kB / 0.5833 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.1543, allocations: 4 kB / 0.5833 GB, free: 5.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1543, allocations: 3.938 kB / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.1543, allocations: 16.86 kB / 0.5833 GB, free: 5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1543, allocations: 4 kB / 0.5833 GB, free: 4.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.971e-05/0.1544, allocations: 41.62 kB / 0.5834 GB, free: 4.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1544, allocations: 8.094 kB / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1544, allocations: 0 / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1544, allocations: 0 / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1546, allocations: 11.98 kB / 0.5834 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003314/0.1549, allocations: 0.586 MB / 0.584 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.155, allocations: 4.031 kB / 0.584 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.155, allocations: 0 / 0.584 GB, free: 4.316 MB / 494.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 7.318e-05/0.155, allocations: 114.5 kB / 0.5841 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1551, allocations: 3.906 kB / 0.5841 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.1552, allocations: 44.81 kB / 0.5841 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1552, allocations: 4 kB / 0.5841 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1552, allocations: 0 / 0.5841 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1552, allocations: 3.938 kB / 0.5841 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.361e-05/0.1553, allocations: 161.6 kB / 0.5843 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1553, allocations: 0 / 0.5843 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.1554, allocations: 16.02 kB / 0.5843 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1554, allocations: 0 / 0.5843 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1554, allocations: 0 / 0.5843 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002735/0.1557, allocations: 0.5821 MB / 0.5849 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1557, allocations: 0 / 0.5849 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.235e-05/0.1558, allocations: 69.19 kB / 0.5849 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.1558, allocations: 81.11 kB / 0.585 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.1558, allocations: 0 / 0.585 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.589e-05/0.1558, allocations: 3.938 kB / 0.585 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.1558, allocations: 0 / 0.585 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1559, allocations: 0 / 0.585 GB, free: 3.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.1559, allocations: 79.28 kB / 0.5851 GB, free: 3.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1559, allocations: 0 / 0.5851 GB, free: 3.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.1561, allocations: 15.94 kB / 0.5851 GB, free: 3.02 MB / 494.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.0001607/0.1563, allocations: 118.5 kB / 0.5852 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1564, allocations: 19.98 kB / 0.5852 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1564, allocations: 3.938 kB / 0.5852 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.1565, allocations: 15.92 kB / 0.5853 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1567, allocations: 8.75 kB / 0.5853 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.157, allocations: 108.5 kB / 0.5854 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1572, allocations: 0.6692 MB / 0.586 GB, free: 2.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.664e-05/0.1573, allocations: 0 / 0.586 GB, free: 2.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.1573, allocations: 11.44 kB / 0.586 GB, free: 2.016 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1573, allocations: 0 / 0.586 GB, free: 2.016 MB / 494.1 MB Notification: Performance of Templates: time 0.002261/0.1595, allocations: 425.6 kB / 0.5864 GB, free: 1.633 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)