Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.000928, allocations: 99.58 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.0008782/0.0008782, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9471/0.9471, allocations: 135.3 MB / 427.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003287, allocations: 12 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001408/0.1661, allocations: 1.002 MB / 0.5896 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1672, allocations: 0.6051 MB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.1672, allocations: 0 / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.1672, allocations: 7.922 kB / 0.5902 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.1673, allocations: 7.938 kB / 0.5902 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.1677, allocations: 119.6 kB / 0.5903 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.1678, allocations: 19.92 kB / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.1679, allocations: 3.984 kB / 0.5903 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1679, allocations: 4 kB / 0.5903 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.1679, allocations: 11.92 kB / 0.5904 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.168, allocations: 4 kB / 0.5904 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.1684, allocations: 343.3 kB / 0.5907 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1685, allocations: 4 kB / 0.5907 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1685, allocations: 37.62 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1687, allocations: 96.11 kB / 0.5908 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1687, allocations: 4 kB / 0.5908 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1687, allocations: 0 / 0.5908 GB, free: 372 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1687, allocations: 0 / 0.5908 GB, free: 372 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004357/0.1691, allocations: 351.5 kB / 0.5912 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1692, allocations: 12.03 kB / 0.5912 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1692, allocations: 4.844 kB / 0.5912 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1694, allocations: 160.4 kB / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1694, allocations: 12.31 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1694, allocations: 4.312 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1695, allocations: 49.81 kB / 0.5914 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1695, allocations: 0 / 0.5914 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1696, allocations: 0 / 0.5914 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1696, allocations: 0 / 0.5914 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.26e-05/0.1696, allocations: 15.98 kB / 0.5914 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.17, allocations: 248.9 kB / 0.5916 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1702, allocations: 54.62 kB / 0.5917 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.1703, allocations: 16.86 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1703, allocations: 0 / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1703, allocations: 34.56 kB / 0.5917 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1703, allocations: 0 / 0.5917 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.1705, allocations: 57.67 kB / 0.5918 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.1706, allocations: 51.41 kB / 0.5919 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.1707, allocations: 105.9 kB / 0.592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1707, allocations: 37.64 kB / 0.592 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.1707, allocations: 80.14 kB / 0.5921 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1708, allocations: 15.73 kB / 0.5921 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1708, allocations: 17.72 kB / 0.5921 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1709, allocations: 314.8 kB / 0.5924 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.1709, allocations: 11.94 kB / 0.5924 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.171, allocations: 17.7 kB / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.171, allocations: 33.72 kB / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1711, allocations: 0 / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.917e-05/0.1711, allocations: 61.62 kB / 0.5925 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1712, allocations: 6.188 kB / 0.5925 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1712, allocations: 0 / 0.5925 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1712, allocations: 4 kB / 0.5925 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.1712, allocations: 4 kB / 0.5925 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1713, allocations: 7.984 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.1713, allocations: 0 / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1713, allocations: 4.031 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.1714, allocations: 117.7 kB / 0.5927 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1714, allocations: 3.906 kB / 0.5927 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.1716, allocations: 61.19 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1716, allocations: 3.938 kB / 0.5927 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1716, allocations: 0 / 0.5927 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1716, allocations: 3.984 kB / 0.5927 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.1717, allocations: 161.6 kB / 0.5929 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1718, allocations: 4.125 kB / 0.5929 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.1718, allocations: 8 kB / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1718, allocations: 0 / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1718, allocations: 0 / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1718, allocations: 4 kB / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1718, allocations: 3.984 kB / 0.5929 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.172, allocations: 151.4 kB / 0.593 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.172, allocations: 77.11 kB / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.172, allocations: 4 kB / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.1721, allocations: 0 / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1721, allocations: 7.984 kB / 0.5931 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.1721, allocations: 0 / 0.5931 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.1721, allocations: 83.28 kB / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1721, allocations: 0 / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002554/0.1724, allocations: 19.94 kB / 0.5932 GB, free: 13.57 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001889/0.1726, allocations: 119.7 kB / 0.5933 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.486e-05/0.1727, allocations: 27.92 kB / 0.5934 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1727, allocations: 0 / 0.5934 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.1727, allocations: 15.98 kB / 0.5934 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.173, allocations: 11.78 kB / 0.5934 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.1733, allocations: 166.1 kB / 0.5935 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1735, allocations: 0.6809 MB / 0.5942 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.1736, allocations: 23.44 kB / 0.5942 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1736, allocations: 0 / 0.5942 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.002033/0.1756, allocations: 0.6708 MB / 0.5949 GB, free: 11.79 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)