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.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001292/0.001292, allocations: 193.9 kB / 16.25 MB, free: 6.633 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.444/1.444, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4046/0.4046, allocations: 54.93 MB / 324.4 MB, free: 72 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.001702/0.001702, allocations: 67.91 kB / 394.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1264, allocations: 59.59 MB / 454.5 MB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.2066/0.333, allocations: 1.302 MB / 455.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000705/0.3338, allocations: 0.4967 MB / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.3338, allocations: 0 / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.3339, allocations: 0 / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.334, allocations: 2.75 kB / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.3344, allocations: 109 kB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.276e-05/0.3344, allocations: 8.5 kB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3345, allocations: 0 / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.3345, allocations: 2.625 kB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.3346, allocations: 10.86 kB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3346, allocations: 0 / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.335, allocations: 357.7 kB / 456.8 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.335, allocations: 3.828 kB / 456.8 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.3351, allocations: 3.25 kB / 456.8 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3353, allocations: 130.8 kB / 456.9 MB, free: 38.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3353, allocations: 0.6875 kB / 456.9 MB, free: 38.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3353, allocations: 0 / 456.9 MB, free: 38.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3353, allocations: 1.156 kB / 456.9 MB, free: 38.64 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.0003141/0.3356, allocations: 338.9 kB / 457.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3357, allocations: 9.438 kB / 457.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3357, allocations: 10.42 kB / 457.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.3358, allocations: 160.4 kB / 457.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3358, allocations: 5.688 kB / 457.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.3358, allocations: 384 / 457.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.3367, allocations: 154.5 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3367, allocations: 3 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3367, allocations: 5 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3367, allocations: 0.5625 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.3375, allocations: 128.9 kB / 457.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.3376, allocations: 155.1 kB / 457.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.3383, allocations: 147.2 kB / 458 MB, free: 37.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.3384, allocations: 10.42 kB / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/0.3387, allocations: 110 kB / 458.1 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3387, allocations: 32.62 kB / 458.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3387, allocations: 4.281 kB / 458.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.001458/0.3402, allocations: 293.8 kB / 458.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3402, allocations: 51.41 kB / 458.5 MB, free: 37.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.3402, allocations: 93.39 kB / 458.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.3403, allocations: 25.7 kB / 458.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.3403, allocations: 82.73 kB / 458.7 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3403, allocations: 15.64 kB / 458.7 MB, free: 37.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3404, allocations: 15.44 kB / 458.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.3404, allocations: 310.8 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.3406, allocations: 40.75 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3407, allocations: 28.03 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.341, allocations: 77.77 kB / 459.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.341, allocations: 2.938 kB / 459.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003174/0.3413, allocations: 99.8 kB / 459.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3414, allocations: 5.906 kB / 459.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3414, allocations: 3.938 kB / 459.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3414, allocations: 0 / 459.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.3439, allocations: 413 kB / 459.7 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.3476, allocations: 1.932 MB / 461.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.3477, allocations: 17.38 kB / 461.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3477, allocations: 6.969 kB / 461.6 MB, free: 35.48 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.69e-05/0.3478, allocations: 117.2 kB / 461.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.3478, allocations: 2.562 kB / 461.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.3478, allocations: 6.875 kB / 461.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3478, allocations: 0 / 461.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3479, allocations: 0 / 461.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3479, allocations: 0 / 461.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.3479, allocations: 161.4 kB / 461.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3479, allocations: 0 / 461.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.3504, allocations: 428.8 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3505, allocations: 0 / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3505, allocations: 2.812 kB / 462.4 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/0.3538, allocations: 1.927 MB / 464.3 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3538, allocations: 2.812 kB / 464.3 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3542, allocations: 129 kB / 464.4 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.3542, allocations: 83.77 kB / 464.5 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.3542, allocations: 3.938 kB / 464.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.3543, allocations: 11.77 kB / 464.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.3544, allocations: 7.688 kB / 464.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.3544, allocations: 4.031 kB / 464.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.3544, allocations: 82 kB / 464.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.3544, allocations: 0 / 464.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3547, allocations: 12.5 kB / 464.6 MB, free: 33.42 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.0001416/0.3548, allocations: 97.53 kB / 464.7 MB, free: 33.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.3578, allocations: 0.4915 MB / 465.2 MB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3578, allocations: 0 / 465.2 MB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00414/0.362, allocations: 0.6513 MB / 465.8 MB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.3622, allocations: 8.812 kB / 465.9 MB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.3657, allocations: 0.7074 MB / 466.6 MB, free: 33.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.3658, allocations: 0.675 MB / 467.2 MB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.808e-05/0.3658, allocations: 0 / 467.2 MB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.3659, allocations: 10.25 kB / 467.2 MB, free: 32.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3659, allocations: 0 / 467.2 MB, free: 32.41 MB / 382.1 MB Notification: Performance of Templates: time 0.002399/0.3683, allocations: 0.5399 MB / 467.8 MB, free: 32.38 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)