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.001194/0.001194, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.001122/0.001122, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.28 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002697/0.1724, allocations: 1.265 MB / 0.6616 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1736, allocations: 0.6035 MB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.1736, allocations: 0 / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1737, allocations: 3.984 kB / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.1737, allocations: 3.938 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.1745, allocations: 143.4 kB / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.1746, allocations: 19.92 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.1746, allocations: 0 / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.1747, allocations: 15.92 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1747, allocations: 7.984 kB / 0.6623 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1747, allocations: 0 / 0.6623 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.1753, allocations: 343.3 kB / 0.6627 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1753, allocations: 3.984 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1754, allocations: 11.94 kB / 0.6627 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1757, allocations: 143.6 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1757, allocations: 7.984 kB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.1757, allocations: 4 kB / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.1757, allocations: 3.938 kB / 0.6628 GB, free: 7.688 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.0005399/0.1763, allocations: 355.5 kB / 0.6632 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1763, allocations: 8.031 kB / 0.6632 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1764, allocations: 0.9375 kB / 0.6632 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1765, allocations: 172.3 kB / 0.6634 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1765, allocations: 384 / 0.6634 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1765, allocations: 4.359 kB / 0.6634 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1767, allocations: 49.64 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1767, allocations: 0 / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1767, allocations: 3.984 kB / 0.6634 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1767, allocations: 3.938 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.1768, allocations: 19.94 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1771, allocations: 252.9 kB / 0.6637 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1774, allocations: 46.62 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.1774, allocations: 16.84 kB / 0.6637 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1774, allocations: 7.984 kB / 0.6637 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1775, allocations: 34.56 kB / 0.6638 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1775, allocations: 0 / 0.6638 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001837/0.1777, allocations: 57.62 kB / 0.6638 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1777, allocations: 51.41 kB / 0.6639 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.1778, allocations: 101.8 kB / 0.664 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1779, allocations: 29.7 kB / 0.664 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.539e-05/0.1779, allocations: 87.98 kB / 0.6641 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1779, allocations: 11.91 kB / 0.6641 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.178, allocations: 17.72 kB / 0.6641 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1781, allocations: 318.8 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.1781, allocations: 4 kB / 0.6644 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.1782, allocations: 17.72 kB / 0.6644 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.49e-05/0.1782, allocations: 41.64 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1782, allocations: 0 / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.548e-05/0.1783, allocations: 61.53 kB / 0.6645 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1783, allocations: 4 kB / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1784, allocations: 0 / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1784, allocations: 4 kB / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.1784, allocations: 4 kB / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1784, allocations: 4 kB / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.1785, allocations: 4 kB / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1785, allocations: 4.031 kB / 0.6646 GB, free: 5.691 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.177e-05/0.1786, allocations: 114.7 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1786, allocations: 4.406 kB / 0.6647 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1787, allocations: 65.11 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1788, allocations: 0 / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1788, allocations: 3.938 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1788, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1789, allocations: 165.5 kB / 0.6649 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.179, allocations: 4 kB / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.179, allocations: 11.94 kB / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.179, allocations: 0 / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.179, allocations: 7.984 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.179, allocations: 128 / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.179, allocations: 4 kB / 0.6649 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1792, allocations: 151.5 kB / 0.6651 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1793, allocations: 84.98 kB / 0.6651 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1793, allocations: 4 kB / 0.6652 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.1793, allocations: 0 / 0.6652 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.1794, allocations: 4 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1794, allocations: 0 / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.1794, allocations: 83.27 kB / 0.6652 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1794, allocations: 0 / 0.6652 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002585/0.1797, allocations: 20 kB / 0.6653 GB, free: 4.871 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.0002374/0.1799, allocations: 115.2 kB / 0.6654 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.1801, allocations: 27.92 kB / 0.6654 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1801, allocations: 0 / 0.6654 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.1801, allocations: 15.94 kB / 0.6654 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1804, allocations: 4 kB / 0.6654 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.1807, allocations: 156.2 kB / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1811, allocations: 0.6767 MB / 0.6662 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1811, allocations: 15.44 kB / 0.6662 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1811, allocations: 4.062 kB / 0.6662 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.00274/0.1838, allocations: 0.7087 MB / 0.6669 GB, free: 3.09 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)