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.0009485/0.0009485, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009249/0.000925, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 8 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 82.31 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.0012/0.1513, allocations: 0.9516 MB / 0.5881 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.1518, allocations: 327.1 kB / 0.5884 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.1519, allocations: 0 / 0.5884 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.1519, allocations: 0 / 0.5884 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.1519, allocations: 7.984 kB / 0.5885 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1522, allocations: 67.28 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.624e-05/0.1523, allocations: 11.92 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1523, allocations: 0 / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.1523, allocations: 11.94 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.1524, allocations: 7.984 kB / 0.5886 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1524, allocations: 0 / 0.5886 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.1527, allocations: 175.7 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.141e-06/0.1527, allocations: 0 / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.1527, allocations: 25.7 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1528, allocations: 64.09 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.1528, allocations: 0 / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1528, allocations: 0 / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1528, allocations: 0 / 0.5888 GB, free: 1.469 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.0003304/0.1532, allocations: 327.4 kB / 0.5891 GB, free: 1.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1532, allocations: 8.031 kB / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.1532, allocations: 7.906 kB / 0.5891 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1534, allocations: 167 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1534, allocations: 0 / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.1534, allocations: 4 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.1535, allocations: 41.62 kB / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1535, allocations: 0 / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.1535, allocations: 0 / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1535, allocations: 0 / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.1535, allocations: 4 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1537, allocations: 157.6 kB / 0.5895 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.1537, allocations: 22.61 kB / 0.5895 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1538, allocations: 3.984 kB / 0.5895 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1538, allocations: 34.62 kB / 0.5895 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.1538, allocations: 0 / 0.5895 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001161/0.1539, allocations: 45.62 kB / 0.5896 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.154, allocations: 51.41 kB / 0.5896 GB, free: 444 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.154, allocations: 97.86 kB / 0.5897 GB, free: 336 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.154, allocations: 29.95 kB / 0.5898 GB, free: 300 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.1541, allocations: 80.14 kB / 0.5898 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1541, allocations: 3.906 kB / 0.5898 GB, free: 212 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1541, allocations: 0 / 0.5898 GB, free: 212 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1542, allocations: 318.8 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.1542, allocations: 0 / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-06/0.1542, allocations: 8 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.261e-05/0.1543, allocations: 0 / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1543, allocations: 0 / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.403e-05/0.1543, allocations: 49.59 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1544, allocations: 10.19 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1544, allocations: 7.938 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.1544, allocations: 0 / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1545, allocations: 11.98 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003166/0.1549, allocations: 0.5821 MB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.1549, allocations: 128 / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1549, allocations: 4 kB / 0.5908 GB, free: 15.19 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 (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.803e-05/0.155, allocations: 121.8 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.155, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.1551, allocations: 44.73 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1551, allocations: 0 / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1551, allocations: 0 / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1551, allocations: 3.984 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.11e-05/0.1552, allocations: 157.7 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1552, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1553, allocations: 11.98 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1553, allocations: 0 / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1553, allocations: 0 / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002716/0.1556, allocations: 0.586 MB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1556, allocations: 3.953 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.084e-05/0.1556, allocations: 65.25 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.1557, allocations: 77.11 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1557, allocations: 0 / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.1557, allocations: 4 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.1557, allocations: 0 / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1558, allocations: 3.953 kB / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.1558, allocations: 79.27 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1558, allocations: 8.125 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001771/0.156, allocations: 4 kB / 0.5919 GB, free: 13.9 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 (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.0001478/0.1561, allocations: 127.1 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1563, allocations: 12 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1563, allocations: 0 / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.1564, allocations: 19.92 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.737e-05/0.1565, allocations: 128 / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.1567, allocations: 111.2 kB / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.1569, allocations: 0.677 MB / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.334e-05/0.157, allocations: 0 / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.157, allocations: 7.438 kB / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.157, allocations: 4 kB / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.002033/0.159, allocations: 411.8 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: