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.001235/0.001235, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001321/0.001321, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8532/0.8532, allocations: 135.1 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3482, allocations: 80.92 MB / 0.5851 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001988/0.3502, allocations: 1.234 MB / 0.5863 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.351, allocations: 0.5899 MB / 0.5868 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.351, allocations: 0.9375 kB / 0.5868 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3511, allocations: 7.922 kB / 0.5869 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.3511, allocations: 3.938 kB / 0.5869 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3516, allocations: 146.7 kB / 0.587 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.535e-05/0.3516, allocations: 8 kB / 0.587 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.3517, allocations: 1.688 kB / 0.587 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.3517, allocations: 6.969 kB / 0.587 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.3517, allocations: 6.328 kB / 0.587 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.3517, allocations: 0.9062 kB / 0.587 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.3522, allocations: 341.5 kB / 0.5873 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.3522, allocations: 10.92 kB / 0.5874 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.3522, allocations: 5.406 kB / 0.5874 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3524, allocations: 141 kB / 0.5875 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3524, allocations: 0 / 0.5875 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3524, allocations: 1.469 kB / 0.5875 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.3524, allocations: 1.188 kB / 0.5875 GB, free: 23.59 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.0002599/0.3527, allocations: 351.2 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.3527, allocations: 10.86 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.3528, allocations: 6.906 kB / 0.5878 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.743e-05/0.3528, allocations: 162.2 kB / 0.588 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-06/0.3528, allocations: 1.844 kB / 0.588 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3529, allocations: 6.062 kB / 0.588 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.622e-05/0.3529, allocations: 40.34 kB / 0.588 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3529, allocations: 0.5312 kB / 0.588 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.353, allocations: 1.125 kB / 0.588 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.353, allocations: 1.156 kB / 0.5881 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.353, allocations: 2.531 kB / 0.5881 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.528e-05/0.3531, allocations: 154.6 kB / 0.5882 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.3531, allocations: 21.17 kB / 0.5882 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.3531, allocations: 11.23 kB / 0.5882 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3532, allocations: 2 kB / 0.5882 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.3532, allocations: 39.81 kB / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3532, allocations: 0 / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001073/0.3533, allocations: 44.62 kB / 0.5883 GB, free: 22.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.3533, allocations: 52.56 kB / 0.5884 GB, free: 22.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.04e-05/0.3534, allocations: 92.64 kB / 0.5885 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.3534, allocations: 26.55 kB / 0.5885 GB, free: 22.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.317e-05/0.3534, allocations: 81.27 kB / 0.5886 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3534, allocations: 9.281 kB / 0.5886 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.3534, allocations: 20.3 kB / 0.5886 GB, free: 22.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.3535, allocations: 312.9 kB / 0.5889 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.3535, allocations: 2.25 kB / 0.5889 GB, free: 22.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.3535, allocations: 2.375 kB / 0.5889 GB, free: 22.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.3535, allocations: 22.73 kB / 0.5889 GB, free: 22.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3536, allocations: 0 / 0.5889 GB, free: 22.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.05e-05/0.3536, allocations: 44.88 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3536, allocations: 6.531 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.3536, allocations: 0 / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3537, allocations: 1.875 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3538, allocations: 7.625 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001932/0.354, allocations: 0.5962 MB / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.354, allocations: 0 / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.354, allocations: 1.062 kB / 0.5895 GB, free: 21.36 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.027e-05/0.3541, allocations: 114.5 kB / 0.5897 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.3541, allocations: 5.156 kB / 0.5897 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.3542, allocations: 45.84 kB / 0.5897 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3542, allocations: 0 / 0.5897 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3542, allocations: 1.656 kB / 0.5897 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3542, allocations: 1.25 kB / 0.5897 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.755e-05/0.3542, allocations: 156.4 kB / 0.5899 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3542, allocations: 0 / 0.5899 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.3543, allocations: 11.53 kB / 0.5899 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3543, allocations: 1.438 kB / 0.5899 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.3543, allocations: 0.5625 kB / 0.5899 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000152/0.3545, allocations: 0.5871 MB / 0.5904 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3545, allocations: 7.984 kB / 0.5905 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.39e-05/0.3546, allocations: 57.8 kB / 0.5905 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.3546, allocations: 82.52 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.3546, allocations: 2.781 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.3546, allocations: 7.922 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.3546, allocations: 2.625 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.3546, allocations: 3.984 kB / 0.5906 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.605e-05/0.3547, allocations: 77.56 kB / 0.5907 GB, free: 20.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3547, allocations: 1.719 kB / 0.5907 GB, free: 20.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.3549, allocations: 16.03 kB / 0.5907 GB, free: 20.14 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.0001089/0.355, allocations: 105.4 kB / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.3551, allocations: 18.73 kB / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3551, allocations: 0 / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.3552, allocations: 15.86 kB / 0.5908 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3553, allocations: 10.94 kB / 0.5908 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.3556, allocations: 130.6 kB / 0.591 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.3557, allocations: 0.6777 MB / 0.5916 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-06/0.3557, allocations: 7.438 kB / 0.5916 GB, free: 19.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3557, allocations: 1.062 kB / 0.5916 GB, free: 19.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002091/0.3578, allocations: 0.6993 MB / 0.5923 GB, free: 18.86 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)