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.0009349/0.000935, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.007868/0.007868, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.697/1.697, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4623/0.4623, allocations: 55.01 MB / 325.8 MB, free: 0.5508 MB / 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.0006064/0.0006064, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3435, allocations: 60.71 MB / 458 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001341/0.3449, allocations: 0.9708 MB / 458.9 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.3459, allocations: 0.5124 MB / 459.5 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.3459, allocations: 0 / 459.5 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.3459, allocations: 1.719 kB / 459.5 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.346, allocations: 2.031 kB / 459.5 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.3463, allocations: 98.3 kB / 459.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.3464, allocations: 10.88 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.3465, allocations: 6.625 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.3465, allocations: 6.156 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.3465, allocations: 9.891 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3466, allocations: 0 / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.347, allocations: 340.4 kB / 459.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.347, allocations: 7.125 kB / 459.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.3471, allocations: 33.06 kB / 460 MB, free: 38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.3473, allocations: 131.7 kB / 460.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3473, allocations: 2.969 kB / 460.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3473, allocations: 0 / 460.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3473, allocations: 0 / 460.1 MB, free: 37.98 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.0003171/0.3476, allocations: 345.3 kB / 460.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3477, allocations: 12.94 kB / 460.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3477, allocations: 2 kB / 460.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.02e-05/0.3478, allocations: 166.2 kB / 460.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3478, allocations: 1.688 kB / 460.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.3478, allocations: 384 / 460.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.3487, allocations: 166.8 kB / 460.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3487, allocations: 192 / 460.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.3487, allocations: 4.656 kB / 460.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3487, allocations: 0 / 460.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.3494, allocations: 139.3 kB / 460.9 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.3496, allocations: 155.5 kB / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.3503, allocations: 162 kB / 461.2 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.3503, allocations: 4.859 kB / 461.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.3506, allocations: 122.6 kB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3506, allocations: 35.31 kB / 461.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3506, allocations: 0.9375 kB / 461.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.001414/0.352, allocations: 311.9 kB / 461.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.3521, allocations: 51.41 kB / 461.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.3521, allocations: 93.8 kB / 461.8 MB, free: 36.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3522, allocations: 28.89 kB / 461.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.593e-05/0.3522, allocations: 83.33 kB / 461.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3522, allocations: 8.062 kB / 461.9 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.3522, allocations: 9.719 kB / 462 MB, free: 36.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.3523, allocations: 313.5 kB / 462.3 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3525, allocations: 41.34 kB / 462.3 MB, free: 36.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3526, allocations: 30.2 kB / 462.3 MB, free: 36.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3529, allocations: 79.52 kB / 462.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3529, allocations: 0 / 462.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003122/0.3532, allocations: 111.2 kB / 462.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3532, allocations: 5.688 kB / 462.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3533, allocations: 3.938 kB / 462.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3533, allocations: 4.031 kB / 462.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.3557, allocations: 445.4 kB / 463 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.3591, allocations: 1.856 MB / 464.8 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.3592, allocations: 22.03 kB / 464.8 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3593, allocations: 0 / 464.8 MB, free: 34.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 7.555e-05/0.3593, allocations: 117.1 kB / 465 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.3594, allocations: 0 / 465 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.203e-05/0.3594, allocations: 3.125 kB / 465 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3594, allocations: 3.938 kB / 465 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3594, allocations: 4.719 kB / 465 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3594, allocations: 4 kB / 465 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.578e-05/0.3595, allocations: 156.1 kB / 465.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3595, allocations: 0 / 465.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/0.3618, allocations: 456.7 kB / 465.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3619, allocations: 4 kB / 465.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3619, allocations: 0 / 465.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.3651, allocations: 1.849 MB / 467.4 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3652, allocations: 0 / 467.4 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.3655, allocations: 132.7 kB / 467.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.3655, allocations: 80.11 kB / 467.6 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.3655, allocations: 4.031 kB / 467.6 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.3656, allocations: 13.27 kB / 467.6 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3657, allocations: 10.34 kB / 467.7 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3657, allocations: 1.25 kB / 467.7 MB, free: 32.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.464e-05/0.3657, allocations: 82.16 kB / 467.7 MB, free: 32.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3657, allocations: 0.8438 kB / 467.7 MB, free: 32.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.366, allocations: 16.53 kB / 467.8 MB, free: 32.88 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 9.75e-05/0.3661, allocations: 97.55 kB / 467.9 MB, free: 32.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.3687, allocations: 0.5233 MB / 468.4 MB, free: 32.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3687, allocations: 0 / 468.4 MB, free: 32.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003864/0.3726, allocations: 0.7009 MB / 469.1 MB, free: 32.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.3728, allocations: 3.594 kB / 469.1 MB, free: 32.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.3762, allocations: 0.7756 MB / 469.9 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3763, allocations: 0.6721 MB / 470.5 MB, free: 31.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.3763, allocations: 0 / 470.5 MB, free: 31.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.3763, allocations: 11.44 kB / 470.5 MB, free: 31.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3764, allocations: 0 / 470.5 MB, free: 31.84 MB / 382.1 MB Notification: Performance of Templates: time 0.002305/0.3787, allocations: 0.5089 MB / 471 MB, free: 31.82 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: