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.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001731/0.001731, allocations: 194 kB / 16.14 MB, free: 6.711 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9097/0.9097, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 61.06 kB / 0.5047 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 80.92 MB / 0.5837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00229/0.1715, allocations: 1.345 MB / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1726, allocations: 0.6128 MB / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.1726, allocations: 0 / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.1726, allocations: 3.984 kB / 0.5856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.144e-05/0.1727, allocations: 3.938 kB / 0.5856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1731, allocations: 123.6 kB / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.44e-05/0.1732, allocations: 15.92 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1732, allocations: 4 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.1732, allocations: 15.94 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.1733, allocations: 7.984 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1733, allocations: 3.938 kB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.1738, allocations: 343.4 kB / 0.5861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1738, allocations: 0 / 0.5861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.1738, allocations: 11.94 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1741, allocations: 151.8 kB / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1741, allocations: 0 / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1741, allocations: 0 / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1741, allocations: 0 / 0.5863 GB, free: 2.32 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.000409/0.1745, allocations: 367.4 kB / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1745, allocations: 8.031 kB / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1746, allocations: 4.938 kB / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.1747, allocations: 164.3 kB / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1747, allocations: 384 / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1747, allocations: 4.375 kB / 0.5868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1748, allocations: 49.75 kB / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1748, allocations: 0 / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1748, allocations: 0 / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.1749, allocations: 0 / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.1749, allocations: 19.98 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1752, allocations: 252.9 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1754, allocations: 46.56 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.1755, allocations: 16.86 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1755, allocations: 0 / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1755, allocations: 38.56 kB / 0.5872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1755, allocations: 0 / 0.5872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001611/0.1757, allocations: 57.59 kB / 0.5873 GB, free: 1.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1758, allocations: 55.34 kB / 0.5873 GB, free: 1.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.1758, allocations: 101.8 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1758, allocations: 25.7 kB / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.1759, allocations: 84.14 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.1759, allocations: 15.75 kB / 0.5875 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1759, allocations: 21.7 kB / 0.5875 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1761, allocations: 318.8 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.1761, allocations: 4 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.1762, allocations: 25.7 kB / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.1762, allocations: 30.09 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1762, allocations: 0 / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.674e-05/0.1763, allocations: 61.66 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1763, allocations: 8 kB / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1763, allocations: 0 / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.1764, allocations: 0 / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.1764, allocations: 8.125 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1764, allocations: 3.984 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.1765, allocations: 7.938 kB / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1765, allocations: 8 kB / 0.588 GB, free: 324 kB / 494.1 MB 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.72e-05/0.1765, allocations: 109.8 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1766, allocations: 15.88 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.1767, allocations: 53.19 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1767, allocations: 4 kB / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1767, allocations: 0 / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1767, allocations: 7.922 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.177, allocations: 161.6 kB / 0.5883 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.177, allocations: 0 / 0.5883 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.177, allocations: 8 kB / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.177, allocations: 3.938 kB / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.177, allocations: 8 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.177, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.177, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1772, allocations: 143.5 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.1772, allocations: 81.11 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.1772, allocations: 4 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.1773, allocations: 0 / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.1773, allocations: 3.984 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1773, allocations: 8 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.1774, allocations: 75.28 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1774, allocations: 0 / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002443/0.1776, allocations: 27.94 kB / 0.5887 GB, free: 15.51 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.000168/0.1778, allocations: 111.2 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.1779, allocations: 27.92 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1779, allocations: 0 / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.1779, allocations: 11.98 kB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1781, allocations: 12 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1784, allocations: 140.1 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1786, allocations: 0.677 MB / 0.5896 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.1787, allocations: 7.984 kB / 0.5896 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.1787, allocations: 11.44 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1787, allocations: 0 / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.002306/0.181, allocations: 0.4986 MB / 0.5901 GB, free: 13.97 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)