Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.00189/0.00189, allocations: 194.9 kB / 17.3 MB, free: 5.613 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7942/0.7942, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 59.91 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3367, allocations: 80.91 MB / 0.5858 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002123/0.3389, allocations: 1.246 MB / 0.587 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.3397, allocations: 0.5963 MB / 0.5876 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.3398, allocations: 1.812 kB / 0.5876 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.3398, allocations: 0 / 0.5876 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.3398, allocations: 0.7188 kB / 0.5876 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.3403, allocations: 144.5 kB / 0.5877 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.3404, allocations: 9.688 kB / 0.5877 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.3404, allocations: 3.094 kB / 0.5877 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.3405, allocations: 2.594 kB / 0.5877 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.3405, allocations: 10.62 kB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3405, allocations: 0 / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.341, allocations: 345.1 kB / 0.5881 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.341, allocations: 2.062 kB / 0.5881 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3411, allocations: 1.625 kB / 0.5881 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3413, allocations: 145.1 kB / 0.5882 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3413, allocations: 1.625 kB / 0.5882 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3413, allocations: 0 / 0.5882 GB, free: 23.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3413, allocations: 0 / 0.5882 GB, free: 23.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000348/0.3417, allocations: 353.9 kB / 0.5885 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3417, allocations: 11.14 kB / 0.5886 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3418, allocations: 0.9375 kB / 0.5886 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.3419, allocations: 166.9 kB / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3419, allocations: 384 / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.3419, allocations: 1.594 kB / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.342, allocations: 41.45 kB / 0.5888 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.342, allocations: 1.156 kB / 0.5888 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.342, allocations: 0.5625 kB / 0.5888 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.342, allocations: 0.5938 kB / 0.5888 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.3421, allocations: 4 kB / 0.5888 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.3422, allocations: 153.4 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/0.3422, allocations: 20.11 kB / 0.5889 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.3423, allocations: 8.141 kB / 0.5889 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3423, allocations: 1.094 kB / 0.5889 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3423, allocations: 40.94 kB / 0.589 GB, free: 23.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3423, allocations: 3.938 kB / 0.589 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000145/0.3425, allocations: 40.19 kB / 0.589 GB, free: 22.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.3425, allocations: 56.44 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.3426, allocations: 98.67 kB / 0.5892 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.3426, allocations: 25.7 kB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.3426, allocations: 84.77 kB / 0.5893 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3426, allocations: 13.27 kB / 0.5893 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.3427, allocations: 13.12 kB / 0.5893 GB, free: 22.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.3427, allocations: 317.1 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.3427, allocations: 1.281 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.3428, allocations: 2.5 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.3428, allocations: 19.67 kB / 0.5896 GB, free: 22.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3428, allocations: 0 / 0.5896 GB, free: 22.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.496e-05/0.3429, allocations: 42.56 kB / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3429, allocations: 5.031 kB / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3429, allocations: 3.656 kB / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3429, allocations: 0 / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3431, allocations: 12.33 kB / 0.5897 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002233/0.3433, allocations: 0.5825 MB / 0.5903 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.3433, allocations: 1.094 kB / 0.5903 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3433, allocations: 2.156 kB / 0.5903 GB, free: 21.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.3434, allocations: 116.1 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.3434, allocations: 5.125 kB / 0.5904 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.3435, allocations: 45.09 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3435, allocations: 2.531 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3435, allocations: 0 / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3435, allocations: 1.375 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.475e-05/0.3436, allocations: 152.5 kB / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3436, allocations: 1.562 kB / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.3437, allocations: 7.781 kB / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3437, allocations: 0 / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3437, allocations: 5.156 kB / 0.5906 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001814/0.3439, allocations: 0.5959 MB / 0.5912 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3439, allocations: 2.688 kB / 0.5912 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.49e-05/0.3439, allocations: 58.8 kB / 0.5912 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.344, allocations: 85.08 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.344, allocations: 1.312 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.344, allocations: 5.906 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.344, allocations: 5.344 kB / 0.5913 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.344, allocations: 1.344 kB / 0.5913 GB, free: 20.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.3441, allocations: 76.69 kB / 0.5914 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3441, allocations: 4.531 kB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.3443, allocations: 8.25 kB / 0.5914 GB, free: 20.46 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.3444, allocations: 113.4 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.3446, allocations: 26.89 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3446, allocations: 1.562 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.3447, allocations: 13.45 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3448, allocations: 3.344 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.3451, allocations: 112.2 kB / 0.5917 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.3452, allocations: 0.6738 MB / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.3452, allocations: 0 / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.3452, allocations: 8.844 kB / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3452, allocations: 1.094 kB / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of Templates: time 0.002349/0.3476, allocations: 449.8 kB / 0.5928 GB, free: 19.2 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)