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.001506/0.001506, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001632/0.001633, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8065/0.8065, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.75 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1463, allocations: 80.93 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002442/0.1488, allocations: 1.242 MB / 0.6665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1498, allocations: 0.5996 MB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1499, allocations: 0 / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1499, allocations: 0 / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.15, allocations: 3.938 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.1505, allocations: 135.4 kB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.1506, allocations: 7.984 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1507, allocations: 4 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.1507, allocations: 0 / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.1507, allocations: 15.98 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1507, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.1513, allocations: 347.2 kB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.1513, allocations: 4 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.1513, allocations: 0 / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1516, allocations: 143.6 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1516, allocations: 0 / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1516, allocations: 0 / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1516, allocations: 0 / 0.6677 GB, free: 3.301 MB / 0.4981 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.0004361/0.1521, allocations: 351.4 kB / 0.6681 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1521, allocations: 17.11 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.1521, allocations: 0.9375 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1523, allocations: 164.4 kB / 0.6682 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1523, allocations: 4.359 kB / 0.6682 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1523, allocations: 384 / 0.6682 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.1524, allocations: 37.58 kB / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1524, allocations: 0 / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1524, allocations: 0 / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1524, allocations: 7.984 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.1525, allocations: 4 kB / 0.6683 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1527, allocations: 153.7 kB / 0.6684 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.1527, allocations: 18.61 kB / 0.6684 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.1527, allocations: 12.92 kB / 0.6685 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1528, allocations: 7.875 kB / 0.6685 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1528, allocations: 30.56 kB / 0.6685 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1528, allocations: 4 kB / 0.6685 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.1529, allocations: 45.69 kB / 0.6685 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.153, allocations: 51.41 kB / 0.6686 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.153, allocations: 97.8 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1531, allocations: 25.7 kB / 0.6687 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.1531, allocations: 84.08 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1531, allocations: 11.89 kB / 0.6688 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.1532, allocations: 13.97 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.1533, allocations: 314.8 kB / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1533, allocations: 0 / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-06/0.1533, allocations: 7.938 kB / 0.6691 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.1533, allocations: 12.86 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1533, allocations: 0 / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.793e-05/0.1534, allocations: 45.62 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1534, allocations: 8 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1534, allocations: 4.094 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1535, allocations: 0 / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1536, allocations: 8 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003484/0.154, allocations: 0.5898 MB / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.154, allocations: 0 / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.154, allocations: 0 / 0.6698 GB, free: 0.9531 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.039e-05/0.1541, allocations: 117.9 kB / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.1541, allocations: 0 / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1542, allocations: 48.8 kB / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1542, allocations: 0 / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1542, allocations: 0 / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1542, allocations: 3.938 kB / 0.6699 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.1543, allocations: 161.6 kB / 0.6701 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1544, allocations: 4 kB / 0.6701 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.1544, allocations: 8 kB / 0.6701 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1545, allocations: 4.031 kB / 0.6701 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1545, allocations: 0 / 0.6701 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003288/0.1548, allocations: 0.5899 MB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1548, allocations: 0 / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.896e-05/0.1549, allocations: 69.02 kB / 0.6707 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.1549, allocations: 81.23 kB / 0.6708 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.155, allocations: 7.922 kB / 0.6708 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.155, allocations: 4 kB / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.155, allocations: 0 / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.155, allocations: 0 / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.155, allocations: 83.28 kB / 0.6709 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.155, allocations: 3.938 kB / 0.6709 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002025/0.1552, allocations: 7.938 kB / 0.6709 GB, free: 15.64 MB / 0.5137 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.0002222/0.1555, allocations: 116.7 kB / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1556, allocations: 15.98 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1557, allocations: 3.938 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.1558, allocations: 23.92 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1559, allocations: 1.125 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1562, allocations: 127.9 kB / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.1565, allocations: 0.6729 MB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.1565, allocations: 7.438 kB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1565, allocations: 0 / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.002388/0.1589, allocations: 0.7037 MB / 0.6726 GB, free: 13.91 MB / 0.5137 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)