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.001004/0.001004, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.00139/0.001391, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 9.938 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1657, allocations: 82.31 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001198/0.167, allocations: 0.9646 MB / 0.5883 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.1678, allocations: 0.5355 MB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.1678, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.858e-06/0.1679, allocations: 4 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.984e-05/0.1679, allocations: 7.938 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1683, allocations: 115.6 kB / 0.589 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.622e-05/0.1683, allocations: 4 kB / 0.589 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.1684, allocations: 0 / 0.589 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.1684, allocations: 7.938 kB / 0.589 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.1684, allocations: 7.984 kB / 0.589 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.1685, allocations: 0 / 0.589 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1689, allocations: 343.3 kB / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-06/0.1689, allocations: 0 / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.169, allocations: 25.7 kB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1691, allocations: 96.11 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1691, allocations: 0 / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1691, allocations: 0 / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1691, allocations: 0 / 0.5894 GB, free: 0.9023 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.0003206/0.1695, allocations: 345 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1695, allocations: 15.97 kB / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.1695, allocations: 0 / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1697, allocations: 174.9 kB / 0.5899 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1697, allocations: 0 / 0.5899 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1697, allocations: 7.938 kB / 0.5899 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.544e-05/0.1698, allocations: 25.7 kB / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1698, allocations: 0 / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1698, allocations: 4 kB / 0.59 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1698, allocations: 0 / 0.59 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.1698, allocations: 7.938 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.17, allocations: 157.6 kB / 0.5901 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.17, allocations: 22.61 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.1701, allocations: 16.86 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1701, allocations: 0 / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1701, allocations: 30.56 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1701, allocations: 0 / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000116/0.1702, allocations: 45.78 kB / 0.5902 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1703, allocations: 55.44 kB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.1703, allocations: 97.86 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1704, allocations: 25.7 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.1704, allocations: 80.14 kB / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1704, allocations: 7.891 kB / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.1704, allocations: 0 / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.1705, allocations: 310.8 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.1705, allocations: 12.06 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.1706, allocations: 4 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.42e-05/0.1706, allocations: 4 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1706, allocations: 3.953 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.487e-05/0.1706, allocations: 37.69 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1707, allocations: 4 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1707, allocations: 4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1707, allocations: 0 / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1708, allocations: 8 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003266/0.1712, allocations: 0.5939 MB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1712, allocations: 0 / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1712, allocations: 3.953 kB / 0.5914 GB, free: 14.59 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.301e-05/0.1713, allocations: 113.8 kB / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.1713, allocations: 0 / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.1714, allocations: 48.91 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1714, allocations: 0 / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1714, allocations: 0 / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.1714, allocations: 3.984 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.418e-05/0.1715, allocations: 157.5 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1715, allocations: 3.984 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.1716, allocations: 11.94 kB / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1716, allocations: 0 / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1716, allocations: 4 kB / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002849/0.1719, allocations: 0.5822 MB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1719, allocations: 7.984 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.225e-05/0.172, allocations: 65.06 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.172, allocations: 77.11 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-06/0.172, allocations: 3.938 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.172, allocations: 4.125 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1721, allocations: 11.94 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.1721, allocations: 0 / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.1721, allocations: 75.28 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1721, allocations: 0 / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001833/0.1723, allocations: 12 kB / 0.5926 GB, free: 13.29 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.0001441/0.1724, allocations: 118.3 kB / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1726, allocations: 20.08 kB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1726, allocations: 0 / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.1727, allocations: 15.98 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1728, allocations: 0 / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.1731, allocations: 115 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.1733, allocations: 0.6733 MB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.462e-05/0.1733, allocations: 4 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.1733, allocations: 7.438 kB / 0.5935 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1733, allocations: 0 / 0.5935 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.002129/0.1755, allocations: 414.1 kB / 0.5939 GB, free: 11.9 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)