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.001034/0.001034, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001049/0.001049, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7785/0.7785, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.78 kB / 0.5013 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.489, allocations: 80.21 MB / 0.5796 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002568/0.4916, allocations: 1.318 MB / 0.5809 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.4929, allocations: 0.5767 MB / 0.5815 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.493, allocations: 0 / 0.5815 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.493, allocations: 4.703 kB / 0.5815 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.493, allocations: 5.328 kB / 0.5815 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.4935, allocations: 120.9 kB / 0.5816 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.4936, allocations: 17.75 kB / 0.5816 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.4936, allocations: 2.875 kB / 0.5816 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.4936, allocations: 3.062 kB / 0.5816 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.45e-05/0.4937, allocations: 2.25 kB / 0.5816 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.4937, allocations: 1.562 kB / 0.5816 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.4942, allocations: 345.2 kB / 0.5819 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.4942, allocations: 5.688 kB / 0.5819 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.4942, allocations: 5.375 kB / 0.5819 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.4945, allocations: 138 kB / 0.5821 GB, free: 3.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4945, allocations: 0 / 0.5821 GB, free: 3.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4945, allocations: 0 / 0.5821 GB, free: 3.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.4945, allocations: 5.312 kB / 0.5821 GB, free: 3 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.0002889/0.4948, allocations: 360.5 kB / 0.5824 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4948, allocations: 9.469 kB / 0.5824 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.4949, allocations: 1.969 kB / 0.5824 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.4949, allocations: 166.3 kB / 0.5826 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.4949, allocations: 1.75 kB / 0.5826 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.495, allocations: 384 / 0.5826 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.689e-05/0.495, allocations: 35.97 kB / 0.5826 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.4951, allocations: 0 / 0.5826 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.4951, allocations: 0 / 0.5826 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4951, allocations: 1.125 kB / 0.5826 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.457e-05/0.4951, allocations: 7.734 kB / 0.5826 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.4952, allocations: 150.7 kB / 0.5828 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.186e-05/0.4953, allocations: 28.39 kB / 0.5828 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.4953, allocations: 11.73 kB / 0.5828 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4953, allocations: 1.812 kB / 0.5828 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.4953, allocations: 35.44 kB / 0.5829 GB, free: 2.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.4953, allocations: 0 / 0.5829 GB, free: 2.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.00012/0.4955, allocations: 41.42 kB / 0.5829 GB, free: 2.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.4955, allocations: 60.12 kB / 0.583 GB, free: 1.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.4955, allocations: 93.95 kB / 0.583 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.4955, allocations: 30.27 kB / 0.5831 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.4956, allocations: 81.67 kB / 0.5831 GB, free: 1.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.4956, allocations: 12.53 kB / 0.5832 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4956, allocations: 13.61 kB / 0.5832 GB, free: 1.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.4957, allocations: 315.5 kB / 0.5835 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.4957, allocations: 7 kB / 0.5835 GB, free: 1.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.4957, allocations: 2.781 kB / 0.5835 GB, free: 1.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.4957, allocations: 10.55 kB / 0.5835 GB, free: 1.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4957, allocations: 4 kB / 0.5835 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.079e-05/0.4958, allocations: 47.84 kB / 0.5835 GB, free: 1.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.4958, allocations: 5.375 kB / 0.5835 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4958, allocations: 0.7031 kB / 0.5836 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4958, allocations: 4.781 kB / 0.5836 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.496, allocations: 11.09 kB / 0.5836 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002079/0.4962, allocations: 0.5823 MB / 0.5841 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.4962, allocations: 4.562 kB / 0.5841 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.4962, allocations: 1.75 kB / 0.5841 GB, free: 0.7812 MB / 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 (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.466e-05/0.4963, allocations: 116.6 kB / 0.5843 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.4963, allocations: 6.266 kB / 0.5843 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/0.4964, allocations: 52.23 kB / 0.5843 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.4964, allocations: 0 / 0.5843 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4964, allocations: 4.844 kB / 0.5843 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4964, allocations: 0.75 kB / 0.5843 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.223e-05/0.4965, allocations: 151.7 kB / 0.5845 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4965, allocations: 0 / 0.5845 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.4965, allocations: 13.67 kB / 0.5845 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4965, allocations: 1.547 kB / 0.5845 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.4966, allocations: 0 / 0.5845 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002053/0.4968, allocations: 0.5878 MB / 0.585 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4968, allocations: 3.938 kB / 0.585 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.4968, allocations: 66.17 kB / 0.5851 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.4969, allocations: 78.64 kB / 0.5852 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.4969, allocations: 128 / 0.5852 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.4969, allocations: 9.656 kB / 0.5852 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.4969, allocations: 1.625 kB / 0.5852 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.4969, allocations: 0.9062 kB / 0.5852 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.497, allocations: 77.77 kB / 0.5853 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.497, allocations: 0 / 0.5853 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.4972, allocations: 7.594 kB / 0.5853 GB, free: 15.57 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.0001556/0.4973, allocations: 109 kB / 0.5854 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.4975, allocations: 29.77 kB / 0.5854 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4975, allocations: 0 / 0.5854 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.4976, allocations: 13.03 kB / 0.5854 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4978, allocations: 2.547 kB / 0.5854 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.4981, allocations: 110.2 kB / 0.5855 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.4983, allocations: 0.6781 MB / 0.5862 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.4983, allocations: 0.7031 kB / 0.5862 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.4984, allocations: 8.562 kB / 0.5862 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4984, allocations: 0 / 0.5862 GB, free: 14.64 MB / 446.1 MB Notification: Performance of Templates: time 0.002456/0.5008, allocations: 443.1 kB / 0.5866 GB, free: 14.59 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)