Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0008214/0.0008214, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009134/0.0009135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6646/0.6646, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 8 kB / 0.5034 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3354, allocations: 81.57 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001081/0.3365, allocations: 0.9642 MB / 0.584 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.3372, allocations: 0.5388 MB / 0.5845 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.3373, allocations: 1.375 kB / 0.5845 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.3373, allocations: 4.594 kB / 0.5846 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.3373, allocations: 0 / 0.5846 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.3379, allocations: 126.9 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.3379, allocations: 9.438 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.338, allocations: 1.547 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.338, allocations: 2.969 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.338, allocations: 11.56 kB / 0.5847 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.3381, allocations: 0 / 0.5847 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.3386, allocations: 335.2 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.3386, allocations: 1.641 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.3387, allocations: 26.67 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3389, allocations: 99.39 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3389, allocations: 4.875 kB / 0.5851 GB, free: 2.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3389, allocations: 0 / 0.5851 GB, free: 2.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3389, allocations: 3.938 kB / 0.5851 GB, free: 2.633 MB / 430.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.0003112/0.3392, allocations: 342.8 kB / 0.5855 GB, free: 2.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3393, allocations: 9.281 kB / 0.5855 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.3393, allocations: 5.484 kB / 0.5855 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.3394, allocations: 164.7 kB / 0.5856 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3394, allocations: 2.375 kB / 0.5856 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3394, allocations: 0 / 0.5856 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.005e-05/0.3395, allocations: 38.45 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3395, allocations: 0 / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3395, allocations: 0 / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3395, allocations: 0.875 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.3396, allocations: 3.469 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.3397, allocations: 155.2 kB / 0.5858 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.3397, allocations: 24.89 kB / 0.5859 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.3397, allocations: 20.05 kB / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3398, allocations: 0.8125 kB / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.3398, allocations: 32.19 kB / 0.5859 GB, free: 1.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3398, allocations: 0 / 0.5859 GB, free: 1.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001287/0.3399, allocations: 40.55 kB / 0.586 GB, free: 1.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.34, allocations: 56.19 kB / 0.586 GB, free: 1.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.34, allocations: 94.8 kB / 0.5861 GB, free: 1.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-06/0.34, allocations: 29.95 kB / 0.5861 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.297e-05/0.34, allocations: 80.8 kB / 0.5862 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3401, allocations: 10.14 kB / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.3401, allocations: 0 / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.3401, allocations: 320.6 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.3401, allocations: 2.641 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-06/0.3401, allocations: 2.125 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.746e-05/0.3402, allocations: 3.125 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3402, allocations: 64 / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.768e-05/0.3402, allocations: 43.75 kB / 0.5866 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3402, allocations: 5.422 kB / 0.5866 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3403, allocations: 1.031 kB / 0.5866 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3403, allocations: 0 / 0.5866 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3404, allocations: 22.89 kB / 0.5866 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002168/0.3407, allocations: 0.5871 MB / 0.5872 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.3407, allocations: 4.969 kB / 0.5872 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.3407, allocations: 5.031 kB / 0.5872 GB, free: 456 kB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.3407, allocations: 109 kB / 0.5873 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.3408, allocations: 5.5 kB / 0.5873 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.3408, allocations: 47.91 kB / 0.5873 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3409, allocations: 0.6875 kB / 0.5873 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3409, allocations: 0.5625 kB / 0.5873 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3409, allocations: 4.922 kB / 0.5873 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.102e-05/0.3409, allocations: 155.4 kB / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3409, allocations: 0.7969 kB / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.341, allocations: 10.23 kB / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.341, allocations: 0 / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.341, allocations: 0.7188 kB / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002622/0.3413, allocations: 0.5844 MB / 0.5881 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3413, allocations: 0.5625 kB / 0.5881 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.3414, allocations: 68.64 kB / 0.5881 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.3414, allocations: 79.52 kB / 0.5882 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.3414, allocations: 0.5625 kB / 0.5882 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.3415, allocations: 5.359 kB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.3415, allocations: 0.7031 kB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3415, allocations: 5.438 kB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.011e-05/0.3415, allocations: 81.62 kB / 0.5883 GB, free: 15.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3415, allocations: 0 / 0.5883 GB, free: 15.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.3417, allocations: 11.77 kB / 0.5883 GB, free: 15.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.3418, allocations: 104.3 kB / 0.5884 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.342, allocations: 17.27 kB / 0.5884 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.342, allocations: 3.938 kB / 0.5884 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.3421, allocations: 17.69 kB / 0.5884 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.3422, allocations: 6.656 kB / 0.5885 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.3425, allocations: 108.7 kB / 0.5886 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3427, allocations: 0.6738 MB / 0.5892 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.686e-05/0.3427, allocations: 1.906 kB / 0.5892 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.3427, allocations: 7.438 kB / 0.5892 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3428, allocations: 4.75 kB / 0.5892 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002229/0.345, allocations: 425.3 kB / 0.5896 GB, free: 14.26 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)