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.001248/0.001248, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001579/0.001579, allocations: 195.1 kB / 16.26 MB, free: 6.637 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9328/0.9328, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 72.64 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1614, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002512/0.1639, allocations: 1.345 MB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.165, allocations: 0.5973 MB / 0.5864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.165, allocations: 3.938 kB / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.1651, allocations: 0 / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.1651, allocations: 3.938 kB / 0.5864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.1656, allocations: 119.6 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.1657, allocations: 23.92 kB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1657, allocations: 0 / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.1658, allocations: 11.98 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.1658, allocations: 15.92 kB / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1658, allocations: 4 kB / 0.5866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1663, allocations: 339.3 kB / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.1664, allocations: 7.984 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.1664, allocations: 7.938 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1666, allocations: 151.8 kB / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1667, allocations: 0 / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1667, allocations: 0 / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1667, allocations: 0 / 0.5871 GB, free: 1.688 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.0004867/0.1672, allocations: 363.4 kB / 0.5874 GB, free: 1.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1672, allocations: 8.031 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1672, allocations: 8.922 kB / 0.5874 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1674, allocations: 160.4 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1674, allocations: 4.375 kB / 0.5876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1674, allocations: 8.312 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1675, allocations: 41.81 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1676, allocations: 0 / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1676, allocations: 4 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1676, allocations: 4 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.1676, allocations: 12 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.168, allocations: 252.9 kB / 0.5879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1682, allocations: 50.62 kB / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1683, allocations: 16.86 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1683, allocations: 7.984 kB / 0.588 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1683, allocations: 30.56 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1684, allocations: 0 / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001725/0.1685, allocations: 61.73 kB / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1686, allocations: 55.34 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.1687, allocations: 105.8 kB / 0.5882 GB, free: 336 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1687, allocations: 29.7 kB / 0.5882 GB, free: 300 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.1688, allocations: 80.14 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1688, allocations: 19.75 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1688, allocations: 21.7 kB / 0.5883 GB, free: 168 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.169, allocations: 314.8 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.169, allocations: 8 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.1691, allocations: 25.7 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.1691, allocations: 25.72 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1691, allocations: 0 / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.021e-05/0.1692, allocations: 61.62 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1693, allocations: 4 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1693, allocations: 4.125 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1693, allocations: 4 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.1693, allocations: 8 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1693, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1694, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1694, allocations: 7.984 kB / 0.5888 GB, free: 15.68 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.95e-05/0.1695, allocations: 121.8 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1695, allocations: 7.844 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1696, allocations: 57.19 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1697, allocations: 0 / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1697, allocations: 4 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1697, allocations: 0 / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1698, allocations: 157.6 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1699, allocations: 0 / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.1699, allocations: 11.98 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1699, allocations: 4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1699, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.1699, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1699, allocations: 3.938 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1701, allocations: 147.5 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1701, allocations: 81.02 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1701, allocations: 4 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.1702, allocations: 0 / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.1702, allocations: 15.92 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1702, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.1703, allocations: 79.61 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1703, allocations: 0 / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002328/0.1705, allocations: 23.94 kB / 0.5895 GB, free: 14.88 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.0001778/0.1707, allocations: 111.2 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1708, allocations: 36.05 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1708, allocations: 0 / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.1709, allocations: 16.05 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1711, allocations: 10.47 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.1714, allocations: 134.5 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1717, allocations: 0.6768 MB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.1717, allocations: 4 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1718, allocations: 11.44 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1718, allocations: 0 / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002721/0.1745, allocations: 0.5001 MB / 0.5909 GB, free: 13.33 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)