Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.386/0.386, allocations: 54.95 MB / 324.7 MB, free: 20 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.001914/0.001914, allocations: 79.88 kB / 395.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 59.59 MB / 454.9 MB, free: 196 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.1999/0.3188, allocations: 1.258 MB / 456.2 MB, free: 39.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.3196, allocations: 0.5072 MB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.3196, allocations: 0 / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.3197, allocations: 6.391 kB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.3197, allocations: 1.969 kB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3202, allocations: 133.8 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.3202, allocations: 16.33 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.3203, allocations: 2.938 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.3203, allocations: 7.953 kB / 456.9 MB, free: 39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.3204, allocations: 17.12 kB / 456.9 MB, free: 39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3204, allocations: 1.625 kB / 456.9 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.3209, allocations: 344.8 kB / 457.2 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3209, allocations: 8.594 kB / 457.2 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.3209, allocations: 7 kB / 457.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.3211, allocations: 142.5 kB / 457.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3212, allocations: 0 / 457.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3212, allocations: 0.625 kB / 457.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3212, allocations: 0.6562 kB / 457.4 MB, free: 38.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003904/0.3216, allocations: 350.8 kB / 457.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3216, allocations: 10.91 kB / 457.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3217, allocations: 4.062 kB / 457.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.3217, allocations: 172.3 kB / 457.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3218, allocations: 2.109 kB / 457.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.3218, allocations: 1.688 kB / 457.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3229, allocations: 219.9 kB / 458.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3229, allocations: 192 / 458.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3229, allocations: 8.312 kB / 458.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3229, allocations: 6.906 kB / 458.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.3239, allocations: 190.7 kB / 458.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.3242, allocations: 249.4 kB / 458.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3253, allocations: 229.5 kB / 458.8 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.3254, allocations: 17.56 kB / 458.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.3258, allocations: 210.4 kB / 459 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.3258, allocations: 36.8 kB / 459 MB, free: 37.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.953e-06/0.3258, allocations: 0 / 459 MB, free: 37.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.002015/0.3279, allocations: 409.4 kB / 459.4 MB, free: 37.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3279, allocations: 53.09 kB / 459.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.328, allocations: 100.7 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.328, allocations: 25.7 kB / 459.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.328, allocations: 81.61 kB / 459.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.328, allocations: 19.41 kB / 459.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.3281, allocations: 15.14 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.3281, allocations: 324.7 kB / 460 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.3284, allocations: 51.92 kB / 460.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3286, allocations: 66.5 kB / 460.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.3291, allocations: 124.4 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3291, allocations: 0.8125 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004817/0.3296, allocations: 154.7 kB / 460.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3296, allocations: 7.125 kB / 460.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3296, allocations: 0 / 460.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3296, allocations: 2.625 kB / 460.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3298, allocations: 31.25 kB / 460.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3298, allocations: 6.562 kB / 460.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.33, allocations: 22.92 kB / 460.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.33, allocations: 3.781 kB / 460.5 MB, free: 37.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.33, allocations: 117.1 kB / 460.6 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3301, allocations: 7.031 kB / 460.6 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.3301, allocations: 9.281 kB / 460.6 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3301, allocations: 0 / 460.6 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3301, allocations: 0 / 460.6 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3301, allocations: 2.906 kB / 460.6 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3303, allocations: 166.4 kB / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3303, allocations: 0 / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.3305, allocations: 30.89 kB / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3305, allocations: 3.688 kB / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3305, allocations: 4.781 kB / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3305, allocations: 0 / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3305, allocations: 0 / 460.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.331, allocations: 249.4 kB / 461.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.331, allocations: 78.33 kB / 461.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.331, allocations: 3.062 kB / 461.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.3312, allocations: 25.7 kB / 461.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3312, allocations: 2.906 kB / 461.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3312, allocations: 5.344 kB / 461.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.036e-05/0.3313, allocations: 79.66 kB / 461.3 MB, free: 36.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3313, allocations: 0 / 461.3 MB, free: 36.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3315, allocations: 12.84 kB / 461.3 MB, free: 36.41 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.643e-05/0.3316, allocations: 101 kB / 461.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.3321, allocations: 120.6 kB / 461.5 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3321, allocations: 0 / 461.5 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.3324, allocations: 55.89 kB / 461.6 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.3326, allocations: 12.97 kB / 461.6 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.3332, allocations: 198.6 kB / 461.8 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.3333, allocations: 0.678 MB / 462.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.3334, allocations: 6.781 kB / 462.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3334, allocations: 14.06 kB / 462.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3334, allocations: 0 / 462.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of Templates: time 0.002404/0.3358, allocations: 0.5336 MB / 463 MB, free: 35.47 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)