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.00116/0.00116, allocations: 100.1 kB / 15.88 MB, free: 12 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.001295/0.001295, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.295/1.295, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9105/0.9105, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.66 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 80.93 MB / 0.5844 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002248/0.1535, allocations: 1.326 MB / 0.5857 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.1545, allocations: 0.6167 MB / 0.5863 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.1545, allocations: 0 / 0.5863 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1545, allocations: 3.938 kB / 0.5863 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.1546, allocations: 0 / 0.5863 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.155, allocations: 134.5 kB / 0.5864 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.155, allocations: 19.88 kB / 0.5864 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.1551, allocations: 7.984 kB / 0.5864 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1551, allocations: 4 kB / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.1552, allocations: 7.938 kB / 0.5864 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1552, allocations: 0 / 0.5864 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.1556, allocations: 351.3 kB / 0.5868 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1556, allocations: 4 kB / 0.5868 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1557, allocations: 7.938 kB / 0.5868 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1558, allocations: 88.11 kB / 0.5869 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1558, allocations: 7.984 kB / 0.5869 GB, free: 2.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1559, allocations: 0 / 0.5869 GB, free: 2.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.1559, allocations: 4 kB / 0.5869 GB, free: 2.43 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.0003969/0.1563, allocations: 355.4 kB / 0.5872 GB, free: 2.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1563, allocations: 12.03 kB / 0.5872 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1563, allocations: 4.938 kB / 0.5872 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.1564, allocations: 164.4 kB / 0.5874 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1565, allocations: 8.312 kB / 0.5874 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1565, allocations: 384 / 0.5874 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1566, allocations: 45.83 kB / 0.5874 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1566, allocations: 3.938 kB / 0.5874 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1566, allocations: 3.984 kB / 0.5874 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1566, allocations: 0 / 0.5874 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.1567, allocations: 20 kB / 0.5875 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.157, allocations: 248.9 kB / 0.5877 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1572, allocations: 46.69 kB / 0.5877 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.1572, allocations: 20.84 kB / 0.5878 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1573, allocations: 7.984 kB / 0.5878 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1573, allocations: 34.5 kB / 0.5878 GB, free: 1.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1573, allocations: 0 / 0.5878 GB, free: 1.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000166/0.1575, allocations: 57.59 kB / 0.5879 GB, free: 1.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1575, allocations: 55.41 kB / 0.5879 GB, free: 1.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.1576, allocations: 105.8 kB / 0.588 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1576, allocations: 25.7 kB / 0.588 GB, free: 1.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1576, allocations: 84.12 kB / 0.5881 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1577, allocations: 15.75 kB / 0.5881 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1577, allocations: 13.72 kB / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.1578, allocations: 326.8 kB / 0.5885 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.1578, allocations: 4 kB / 0.5885 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.1578, allocations: 21.66 kB / 0.5885 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.1579, allocations: 33.7 kB / 0.5885 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1579, allocations: 0 / 0.5885 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.372e-05/0.158, allocations: 65.56 kB / 0.5886 GB, free: 460 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.158, allocations: 6.344 kB / 0.5886 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.158, allocations: 0 / 0.5886 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.158, allocations: 0 / 0.5886 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.1581, allocations: 8 kB / 0.5886 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1581, allocations: 0 / 0.5886 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.1581, allocations: 8.031 kB / 0.5886 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1581, allocations: 0 / 0.5886 GB, free: 440 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 6.892e-05/0.1582, allocations: 117.8 kB / 0.5887 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1582, allocations: 7.891 kB / 0.5887 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.1584, allocations: 65.11 kB / 0.5888 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1584, allocations: 3.938 kB / 0.5888 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1584, allocations: 0 / 0.5888 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1584, allocations: 0 / 0.5888 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1585, allocations: 161.6 kB / 0.5889 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1586, allocations: 4 kB / 0.5889 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1586, allocations: 4 kB / 0.5889 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1586, allocations: 0 / 0.5889 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1586, allocations: 3.984 kB / 0.5889 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1586, allocations: 0 / 0.5889 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1586, allocations: 4.047 kB / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.1588, allocations: 151.8 kB / 0.5891 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.1588, allocations: 81.11 kB / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1588, allocations: 8.125 kB / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.1589, allocations: 0 / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.1589, allocations: 4 kB / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1589, allocations: 0 / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.1589, allocations: 83.3 kB / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.159, allocations: 4 kB / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002454/0.1592, allocations: 19.94 kB / 0.5893 GB, free: 15.62 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.0001676/0.1594, allocations: 125.9 kB / 0.5894 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.1595, allocations: 23.92 kB / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1595, allocations: 0 / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.1595, allocations: 8 kB / 0.5894 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1597, allocations: 11.94 kB / 0.5894 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.16, allocations: 161.9 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.1603, allocations: 0.6732 MB / 0.5903 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.1603, allocations: 15.44 kB / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1603, allocations: 0 / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002038/0.1623, allocations: 0.6867 MB / 0.5909 GB, free: 13.85 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)