Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007453/0.007453, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001853/0.001853, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.72 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002339/0.1713, allocations: 1.279 MB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.1722, allocations: 0.5958 MB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.1723, allocations: 4 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.1723, allocations: 0 / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.1724, allocations: 3.938 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.173, allocations: 143.4 kB / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1731, allocations: 19.92 kB / 0.6617 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.1732, allocations: 0 / 0.6617 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1732, allocations: 11.94 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.1733, allocations: 7.984 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1733, allocations: 4 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.1738, allocations: 343.3 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.1738, allocations: 8 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1739, allocations: 7.938 kB / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1741, allocations: 151.6 kB / 0.6622 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1741, allocations: 0 / 0.6622 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1742, allocations: 0 / 0.6622 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5e-06/0.1742, allocations: 0 / 0.6622 GB, free: 7.66 MB / 0.4981 GB 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.0004338/0.1746, allocations: 359.4 kB / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1746, allocations: 8.031 kB / 0.6625 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1747, allocations: 8.938 kB / 0.6625 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1748, allocations: 164.3 kB / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-06/0.1748, allocations: 384 / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1748, allocations: 8.312 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.175, allocations: 49.55 kB / 0.6627 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.175, allocations: 7.938 kB / 0.6628 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.175, allocations: 4 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.175, allocations: 0 / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.1751, allocations: 11.98 kB / 0.6628 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1754, allocations: 256.9 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1756, allocations: 50.56 kB / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.1757, allocations: 16.86 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1757, allocations: 0 / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1757, allocations: 30.56 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1757, allocations: 4 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001756/0.1759, allocations: 57.69 kB / 0.6632 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1759, allocations: 55.39 kB / 0.6632 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.176, allocations: 93.86 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.176, allocations: 29.64 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.1761, allocations: 91.98 kB / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/0.1761, allocations: 7.906 kB / 0.6634 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1761, allocations: 21.7 kB / 0.6635 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1762, allocations: 318.8 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.1763, allocations: 8 kB / 0.6638 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.1763, allocations: 21.7 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.1764, allocations: 29.72 kB / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1764, allocations: 0 / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.274e-05/0.1765, allocations: 61.53 kB / 0.6639 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1765, allocations: 8.031 kB / 0.6639 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1765, allocations: 4 kB / 0.6639 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1765, allocations: 0 / 0.6639 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.1766, allocations: 11.98 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1766, allocations: 3.984 kB / 0.6639 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.1766, allocations: 0 / 0.6639 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1766, allocations: 4 kB / 0.6639 GB, free: 5.656 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.295e-05/0.1767, allocations: 114.6 kB / 0.664 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1767, allocations: 4 kB / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.1769, allocations: 61.61 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1769, allocations: 8.031 kB / 0.6641 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1769, allocations: 4.109 kB / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.1769, allocations: 0 / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1771, allocations: 169.5 kB / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1771, allocations: 0 / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.1771, allocations: 8 kB / 0.6643 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1771, allocations: 0 / 0.6643 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1771, allocations: 0 / 0.6643 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1772, allocations: 3.938 kB / 0.6643 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1772, allocations: 4 kB / 0.6643 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.1773, allocations: 155.4 kB / 0.6644 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.1774, allocations: 81.05 kB / 0.6645 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1774, allocations: 4 kB / 0.6645 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.1774, allocations: 3.984 kB / 0.6645 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1775, allocations: 0 / 0.6645 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1775, allocations: 0 / 0.6645 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.1775, allocations: 83.28 kB / 0.6646 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1775, allocations: 4 kB / 0.6646 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002539/0.1778, allocations: 20 kB / 0.6646 GB, free: 4.836 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.0001826/0.178, allocations: 119.2 kB / 0.6647 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.1781, allocations: 27.88 kB / 0.6647 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1781, allocations: 0 / 0.6647 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/0.1781, allocations: 15.98 kB / 0.6648 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1783, allocations: 0 / 0.6648 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.1787, allocations: 138.5 kB / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1791, allocations: 0.6806 MB / 0.6656 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.1791, allocations: 4 kB / 0.6656 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1792, allocations: 7.438 kB / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1792, allocations: 0 / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.002863/0.182, allocations: 0.512 MB / 0.6661 GB, free: 3.281 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)