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.001154/0.001153, allocations: 108 kB / 15.6 MB, free: 132 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.001419/0.001419, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9791/0.9791, allocations: 135.2 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 64.03 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1668, allocations: 80.94 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002661/0.1695, allocations: 1.269 MB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.1705, allocations: 0.5932 MB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.1706, allocations: 0 / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.1706, allocations: 11.86 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.1708, allocations: 0 / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009249/0.1717, allocations: 155.4 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.1718, allocations: 23.86 kB / 0.5864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.1719, allocations: 0 / 0.5864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.1719, allocations: 12 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.172, allocations: 11.92 kB / 0.5864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.172, allocations: 0 / 0.5864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.1728, allocations: 339.4 kB / 0.5868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.1728, allocations: 4 kB / 0.5868 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1729, allocations: 11.94 kB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1732, allocations: 151.9 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1733, allocations: 0 / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1733, allocations: 0 / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1733, allocations: 4 kB / 0.5869 GB, free: 1.934 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006402/0.1739, allocations: 355.4 kB / 0.5873 GB, free: 1.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.174, allocations: 8.031 kB / 0.5873 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.1741, allocations: 4.938 kB / 0.5873 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1742, allocations: 168.3 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1742, allocations: 384 / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1743, allocations: 4.375 kB / 0.5874 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1744, allocations: 49.81 kB / 0.5875 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1744, allocations: 4 kB / 0.5875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1745, allocations: 0 / 0.5875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1745, allocations: 0 / 0.5875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.1745, allocations: 12 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.175, allocations: 252.9 kB / 0.5878 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.1752, allocations: 46.56 kB / 0.5878 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.1753, allocations: 24.84 kB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1753, allocations: 0 / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1753, allocations: 34.56 kB / 0.5879 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1754, allocations: 7.938 kB / 0.5879 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002073/0.1756, allocations: 57.53 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1756, allocations: 51.41 kB / 0.588 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.1757, allocations: 105.8 kB / 0.5881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1757, allocations: 25.7 kB / 0.5881 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1758, allocations: 88.14 kB / 0.5882 GB, free: 472 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1758, allocations: 15.75 kB / 0.5882 GB, free: 456 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.1759, allocations: 17.72 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.176, allocations: 318.8 kB / 0.5885 GB, free: 104 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.176, allocations: 4 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.1761, allocations: 21.72 kB / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.1761, allocations: 41.64 kB / 0.5886 GB, free: 24 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1762, allocations: 0 / 0.5886 GB, free: 24 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.1763, allocations: 50.06 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1763, allocations: 8 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1763, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1763, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.1764, allocations: 11.94 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1764, allocations: 0 / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.1765, allocations: 4.047 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1765, allocations: 7.984 kB / 0.5887 GB, free: 15.94 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 7.08e-05/0.1765, allocations: 117.8 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.1766, allocations: 7.906 kB / 0.5888 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.1767, allocations: 53.19 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1768, allocations: 4 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1768, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1768, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1769, allocations: 161.7 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.177, allocations: 4 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.177, allocations: 23.92 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.177, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.177, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.177, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.177, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.1772, allocations: 147.5 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.1772, allocations: 77.11 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1772, allocations: 4 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.1773, allocations: 4 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1773, allocations: 3.984 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1773, allocations: 3.938 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.1774, allocations: 79.28 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 0 / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002549/0.1777, allocations: 31.88 kB / 0.5893 GB, free: 15.12 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.0002039/0.1779, allocations: 115.2 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.178, allocations: 27.98 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.178, allocations: 0 / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.178, allocations: 15.94 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1782, allocations: 6.281 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.1786, allocations: 130.4 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1788, allocations: 0.6729 MB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.178e-05/0.1789, allocations: 16.03 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.1789, allocations: 11.44 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1789, allocations: 4 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.002909/0.1818, allocations: 0.5074 MB / 0.5908 GB, free: 13.58 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)