Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001863/0.001863, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3986/0.3986, allocations: 54.93 MB / 324.3 MB, free: 116 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 59.59 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.2413/0.3679, allocations: 1.299 MB / 455.6 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.3687, allocations: 0.5232 MB / 456.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.3687, allocations: 0 / 456.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.3688, allocations: 2.656 kB / 456.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.3689, allocations: 2.688 kB / 456.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3692, allocations: 95.41 kB / 456.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.3693, allocations: 11.64 kB / 456.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.3693, allocations: 5.062 kB / 456.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/0.3693, allocations: 0 / 456.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.3694, allocations: 11.31 kB / 456.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3694, allocations: 0 / 456.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.3698, allocations: 350.3 kB / 456.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.3699, allocations: 0 / 456.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3699, allocations: 6.625 kB / 456.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3701, allocations: 134.2 kB / 456.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3701, allocations: 2.25 kB / 456.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3701, allocations: 3.703 kB / 456.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.3701, allocations: 0 / 456.7 MB, free: 38.93 MB / 382.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.0003154/0.3705, allocations: 346.5 kB / 457.1 MB, free: 38.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3705, allocations: 14.81 kB / 457.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3705, allocations: 2 kB / 457.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.315e-05/0.3706, allocations: 160.4 kB / 457.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3706, allocations: 5.5 kB / 457.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.3706, allocations: 384 / 457.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.3715, allocations: 157.7 kB / 457.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3716, allocations: 1.781 kB / 457.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3716, allocations: 3.938 kB / 457.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3716, allocations: 0 / 457.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.3723, allocations: 129.6 kB / 457.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.3724, allocations: 155.1 kB / 457.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.3732, allocations: 148.1 kB / 457.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.3732, allocations: 4.859 kB / 457.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.3735, allocations: 109 kB / 458 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3735, allocations: 37.34 kB / 458 MB, free: 37.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3735, allocations: 2.188 kB / 458 MB, free: 37.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00153/0.3751, allocations: 290.3 kB / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.3751, allocations: 54.22 kB / 458.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.3752, allocations: 89.86 kB / 458.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.3752, allocations: 33.33 kB / 458.4 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.3752, allocations: 80.14 kB / 458.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3752, allocations: 1.25 kB / 458.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.3753, allocations: 20.86 kB / 458.5 MB, free: 37.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.3753, allocations: 318.7 kB / 458.9 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3755, allocations: 30.75 kB / 458.9 MB, free: 37.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3757, allocations: 33.84 kB / 458.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.376, allocations: 73.97 kB / 459 MB, free: 37.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.376, allocations: 4 kB / 459 MB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003319/0.3763, allocations: 99.56 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3763, allocations: 5.656 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3763, allocations: 3.938 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3764, allocations: 2.969 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.3789, allocations: 413.7 kB / 459.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.3824, allocations: 1.808 MB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3826, allocations: 19.5 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3826, allocations: 0 / 461.3 MB, free: 35.86 MB / 382.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 6.354e-05/0.3826, allocations: 117.4 kB / 461.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.3827, allocations: 0 / 461.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.3827, allocations: 9.406 kB / 461.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3827, allocations: 3.031 kB / 461.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.3827, allocations: 0 / 461.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3827, allocations: 3.422 kB / 461.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.048e-05/0.3828, allocations: 152.7 kB / 461.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3828, allocations: 2.781 kB / 461.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/0.3853, allocations: 423.4 kB / 462 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3853, allocations: 0.5 kB / 462 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3853, allocations: 2.844 kB / 462 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.3886, allocations: 1.812 MB / 463.8 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3887, allocations: 0 / 463.8 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.389, allocations: 130.1 kB / 464 MB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.389, allocations: 84.97 kB / 464.1 MB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.389, allocations: 1.125 kB / 464.1 MB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.3891, allocations: 13.77 kB / 464.1 MB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3892, allocations: 7.641 kB / 464.1 MB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3892, allocations: 3.281 kB / 464.1 MB, free: 33.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.463e-05/0.3892, allocations: 79.22 kB / 464.2 MB, free: 33.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3892, allocations: 0 / 464.2 MB, free: 33.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.3895, allocations: 12.69 kB / 464.2 MB, free: 33.9 MB / 382.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.0001051/0.3896, allocations: 104.4 kB / 464.3 MB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.3924, allocations: 0.4898 MB / 464.8 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3924, allocations: 2.75 kB / 464.8 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004108/0.3965, allocations: 0.646 MB / 465.4 MB, free: 33.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.3967, allocations: 3.75 kB / 465.4 MB, free: 33.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.4, allocations: 0.7144 MB / 466.1 MB, free: 33.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.4002, allocations: 0.6718 MB / 466.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.4002, allocations: 0 / 466.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.4002, allocations: 7.438 kB / 466.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4002, allocations: 4 kB / 466.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002431/0.4027, allocations: 0.5155 MB / 467.3 MB, free: 32.85 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)