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.001034/0.001034, allocations: 104.3 kB / 16.35 MB, free: 6.289 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.001019/0.001019, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.274/1.274, 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.7797/0.7797, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.89 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3354, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002015/0.3375, allocations: 1.247 MB / 0.587 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.3382, allocations: 0.588 MB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.3383, allocations: 1.469 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.3383, allocations: 0.8438 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.3383, allocations: 0 / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3388, allocations: 148.5 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.3388, allocations: 9.875 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3389, allocations: 9.203 kB / 0.5877 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.3389, allocations: 2.75 kB / 0.5877 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.3389, allocations: 7.031 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.3389, allocations: 0 / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.3394, allocations: 344 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3394, allocations: 4 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.3394, allocations: 6.812 kB / 0.5881 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3396, allocations: 135.8 kB / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3396, allocations: 1.219 kB / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3396, allocations: 0 / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.3396, allocations: 0.9062 kB / 0.5882 GB, free: 23.69 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.0002742/0.3399, allocations: 356.8 kB / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3399, allocations: 10.58 kB / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.34, allocations: 0.9375 kB / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.523e-05/0.34, allocations: 162.8 kB / 0.5887 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3401, allocations: 1.5 kB / 0.5887 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3401, allocations: 7.25 kB / 0.5887 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.21e-05/0.3402, allocations: 32.73 kB / 0.5887 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.3402, allocations: 0 / 0.5887 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3402, allocations: 4.594 kB / 0.5887 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3402, allocations: 5.562 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.3402, allocations: 6.703 kB / 0.5888 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.906e-05/0.3403, allocations: 152.5 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.3404, allocations: 25.62 kB / 0.5889 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.3404, allocations: 12.33 kB / 0.5889 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3404, allocations: 1.062 kB / 0.5889 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.3404, allocations: 35.66 kB / 0.589 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3404, allocations: 1.062 kB / 0.589 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000118/0.3406, allocations: 43.98 kB / 0.589 GB, free: 22.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3406, allocations: 52.19 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.3406, allocations: 97.53 kB / 0.5892 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.3407, allocations: 26.27 kB / 0.5892 GB, free: 22.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.158e-05/0.3407, allocations: 82.17 kB / 0.5893 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3407, allocations: 8.469 kB / 0.5893 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.3407, allocations: 16.78 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.3408, allocations: 313.7 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.3408, allocations: 1.156 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.3408, allocations: 6.641 kB / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.3408, allocations: 20.61 kB / 0.5896 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3408, allocations: 0 / 0.5896 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.942e-05/0.3409, allocations: 37.92 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3409, allocations: 8.125 kB / 0.5897 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3409, allocations: 2.094 kB / 0.5897 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3409, allocations: 0 / 0.5897 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3411, allocations: 15.58 kB / 0.5897 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002043/0.3413, allocations: 0.5876 MB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.3413, allocations: 0.625 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3413, allocations: 2.469 kB / 0.5903 GB, free: 21.47 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.071e-05/0.3414, allocations: 111.2 kB / 0.5904 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.3414, allocations: 6.75 kB / 0.5904 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.3415, allocations: 45.56 kB / 0.5904 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3415, allocations: 4 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3415, allocations: 1.719 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3415, allocations: 1.625 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.657e-05/0.3415, allocations: 156.3 kB / 0.5906 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3415, allocations: 0 / 0.5906 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.3416, allocations: 14.45 kB / 0.5906 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3416, allocations: 1.656 kB / 0.5906 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3416, allocations: 0 / 0.5906 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001534/0.3418, allocations: 0.5863 MB / 0.5912 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3418, allocations: 0 / 0.5912 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.372e-05/0.3419, allocations: 68.19 kB / 0.5912 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.3419, allocations: 78.92 kB / 0.5913 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.3419, allocations: 0 / 0.5913 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.3419, allocations: 5.656 kB / 0.5913 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.3419, allocations: 5.641 kB / 0.5913 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3419, allocations: 0 / 0.5913 GB, free: 20.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.597e-05/0.342, allocations: 82.62 kB / 0.5914 GB, free: 20.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.342, allocations: 0.6875 kB / 0.5914 GB, free: 20.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.3422, allocations: 20.05 kB / 0.5914 GB, free: 20.24 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.0001261/0.3423, allocations: 102.9 kB / 0.5915 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.3424, allocations: 18.83 kB / 0.5915 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3425, allocations: 0 / 0.5915 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.3425, allocations: 14.14 kB / 0.5915 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3427, allocations: 7.156 kB / 0.5915 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.343, allocations: 111.6 kB / 0.5916 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.775e-05/0.3431, allocations: 0.6779 MB / 0.5923 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.3431, allocations: 1.531 kB / 0.5923 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.3431, allocations: 8.312 kB / 0.5923 GB, free: 19.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3431, allocations: 0 / 0.5923 GB, free: 19.31 MB / 446.1 MB Notification: Performance of Templates: time 0.002186/0.3453, allocations: 449.2 kB / 0.5927 GB, free: 19.02 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)