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.001079/0.001079, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001141/0.001141, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8099/0.8099, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3382, allocations: 80.91 MB / 0.5858 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002118/0.3403, allocations: 1.273 MB / 0.587 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.3412, allocations: 0.5971 MB / 0.5876 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.3412, allocations: 2.844 kB / 0.5876 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.3412, allocations: 3.984 kB / 0.5876 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.3413, allocations: 3.938 kB / 0.5876 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.3418, allocations: 154.5 kB / 0.5877 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.3419, allocations: 22.58 kB / 0.5878 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.342, allocations: 5.594 kB / 0.5878 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.342, allocations: 3.531 kB / 0.5878 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.342, allocations: 11.86 kB / 0.5878 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3421, allocations: 2 kB / 0.5878 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.3425, allocations: 347.9 kB / 0.5881 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.3425, allocations: 0 / 0.5881 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.3426, allocations: 11.88 kB / 0.5881 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3428, allocations: 147.4 kB / 0.5883 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3428, allocations: 0 / 0.5883 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3428, allocations: 0.6562 kB / 0.5883 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3428, allocations: 1.469 kB / 0.5883 GB, free: 23.86 MB / 446.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.0003529/0.3432, allocations: 359.7 kB / 0.5886 GB, free: 23.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3432, allocations: 11.64 kB / 0.5886 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.3433, allocations: 2.344 kB / 0.5886 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.3433, allocations: 165.5 kB / 0.5888 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3434, allocations: 1 kB / 0.5888 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3434, allocations: 4.219 kB / 0.5888 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.3435, allocations: 48.38 kB / 0.5888 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3435, allocations: 0.625 kB / 0.5888 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3435, allocations: 4.906 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3435, allocations: 1.094 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.3436, allocations: 13.17 kB / 0.5889 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.3438, allocations: 255.7 kB / 0.5891 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.344, allocations: 41.69 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.344, allocations: 28.59 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3441, allocations: 3.125 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.3441, allocations: 31.88 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3441, allocations: 0 / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.3443, allocations: 60.16 kB / 0.5893 GB, free: 22.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.3443, allocations: 52.59 kB / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.3443, allocations: 94.67 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.3443, allocations: 31.03 kB / 0.5894 GB, free: 22.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.3444, allocations: 85.27 kB / 0.5895 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.3444, allocations: 14.62 kB / 0.5895 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.3444, allocations: 17.84 kB / 0.5895 GB, free: 22.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.3445, allocations: 319.6 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.3445, allocations: 12.78 kB / 0.5899 GB, free: 22.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.3445, allocations: 20.88 kB / 0.5899 GB, free: 22.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.3446, allocations: 34.36 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3446, allocations: 0 / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.859e-05/0.3447, allocations: 61.62 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3447, allocations: 8 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3447, allocations: 0 / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3447, allocations: 1.438 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.721e-05/0.3448, allocations: 13.08 kB / 0.59 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3448, allocations: 0 / 0.59 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.3448, allocations: 8.859 kB / 0.59 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3448, allocations: 2.875 kB / 0.59 GB, free: 22.05 MB / 446.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 4.153e-05/0.3449, allocations: 113 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3449, allocations: 5.031 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.345, allocations: 70.52 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.345, allocations: 1.219 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.345, allocations: 0 / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.345, allocations: 1.031 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.3451, allocations: 159 kB / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3451, allocations: 0 / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.3452, allocations: 7.531 kB / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3452, allocations: 1.281 kB / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3452, allocations: 0 / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3452, allocations: 5.203 kB / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3452, allocations: 0 / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.3453, allocations: 154.1 kB / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.3454, allocations: 81.02 kB / 0.5906 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3454, allocations: 0.5938 kB / 0.5906 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.3454, allocations: 6.531 kB / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.3454, allocations: 0 / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3455, allocations: 0 / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.3455, allocations: 87.27 kB / 0.5907 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3455, allocations: 3.938 kB / 0.5907 GB, free: 21.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3457, allocations: 16 kB / 0.5907 GB, free: 21.3 MB / 446.1 MB 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.0001734/0.3459, allocations: 125.3 kB / 0.5908 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.688e-05/0.346, allocations: 29.77 kB / 0.5908 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.346, allocations: 0 / 0.5908 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.3461, allocations: 12 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.3463, allocations: 5.156 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.3466, allocations: 118.8 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3467, allocations: 0.6784 MB / 0.5916 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.3468, allocations: 9.672 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.3468, allocations: 11.38 kB / 0.5916 GB, free: 20.26 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3468, allocations: 0 / 0.5916 GB, free: 20.26 MB / 446.1 MB Notification: Performance of Templates: time 0.002655/0.3495, allocations: 0.5145 MB / 0.5921 GB, free: 19.78 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)