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.001474/0.001474, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001244/0.001244, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.5/1.5, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3799/0.3799, allocations: 54.93 MB / 324.4 MB, free: 52 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.001868/0.001868, allocations: 68.47 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 59.59 MB / 454.5 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.2077/0.3622, allocations: 1.331 MB / 455.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.3631, allocations: 0.5115 MB / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.3633, allocations: 0 / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.3633, allocations: 2.812 kB / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.3634, allocations: 0.9062 kB / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3638, allocations: 111.1 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.3639, allocations: 16.97 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.3639, allocations: 2.656 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.364, allocations: 11.67 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.364, allocations: 10.81 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.364, allocations: 2.594 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.3645, allocations: 350.2 kB / 456.8 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-06/0.3645, allocations: 4.547 kB / 456.8 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.3646, allocations: 13.91 kB / 456.8 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3648, allocations: 137.3 kB / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3648, allocations: 0 / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3648, allocations: 1 kB / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3648, allocations: 3.031 kB / 457 MB, free: 38.76 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.0003285/0.3651, allocations: 350.4 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3652, allocations: 8.719 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.3652, allocations: 4.062 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.846e-05/0.3653, allocations: 178.8 kB / 457.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3653, allocations: 384 / 457.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3653, allocations: 3.312 kB / 457.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.3665, allocations: 216.7 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3665, allocations: 0.8438 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3665, allocations: 4.75 kB / 457.7 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3665, allocations: 0 / 457.7 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.3675, allocations: 191.8 kB / 457.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.3678, allocations: 249.2 kB / 458.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3689, allocations: 233.1 kB / 458.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.369, allocations: 22.98 kB / 458.4 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.3694, allocations: 209.4 kB / 458.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.3695, allocations: 34.88 kB / 458.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3695, allocations: 0 / 458.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.002058/0.3715, allocations: 405 kB / 459 MB, free: 37.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3716, allocations: 55.22 kB / 459.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.3716, allocations: 98.09 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3716, allocations: 25.7 kB / 459.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.3717, allocations: 86.23 kB / 459.3 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.3717, allocations: 14.88 kB / 459.3 MB, free: 37.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.3717, allocations: 18.12 kB / 459.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.3718, allocations: 325 kB / 459.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.372, allocations: 55.05 kB / 459.7 MB, free: 36.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.3722, allocations: 65.5 kB / 459.7 MB, free: 36.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.3726, allocations: 121.2 kB / 459.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3727, allocations: 0 / 459.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004697/0.3731, allocations: 160 kB / 460 MB, free: 36.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3732, allocations: 3.406 kB / 460 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3732, allocations: 1.031 kB / 460 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3732, allocations: 2.688 kB / 460 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3734, allocations: 30.36 kB / 460.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3734, allocations: 7.031 kB / 460.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3736, allocations: 24.05 kB / 460.1 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3736, allocations: 5.281 kB / 460.1 MB, free: 36.84 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.832e-05/0.3736, allocations: 112.9 kB / 460.2 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3737, allocations: 3.125 kB / 460.2 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.3737, allocations: 12.2 kB / 460.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3737, allocations: 2.812 kB / 460.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3737, allocations: 1.188 kB / 460.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3737, allocations: 0.5156 kB / 460.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3739, allocations: 165.5 kB / 460.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3739, allocations: 0.75 kB / 460.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3741, allocations: 27.5 kB / 460.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.3741, allocations: 6.781 kB / 460.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3741, allocations: 4.172 kB / 460.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3741, allocations: 1.062 kB / 460.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3741, allocations: 0 / 460.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.3746, allocations: 244.3 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.3746, allocations: 83.28 kB / 460.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3746, allocations: 6.703 kB / 460.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3748, allocations: 22.31 kB / 460.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.3748, allocations: 9.156 kB / 460.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3748, allocations: 0 / 460.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.3749, allocations: 79.73 kB / 460.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3749, allocations: 0 / 460.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3751, allocations: 9.875 kB / 460.9 MB, free: 36.2 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.376e-05/0.3752, allocations: 106 kB / 461 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.3757, allocations: 111.8 kB / 461.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3757, allocations: 4.062 kB / 461.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3759, allocations: 63.08 kB / 461.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3761, allocations: 3.938 kB / 461.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.3767, allocations: 203.1 kB / 461.3 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.473e-05/0.3768, allocations: 0.6776 MB / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.858e-05/0.3769, allocations: 10.02 kB / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3769, allocations: 10.41 kB / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3769, allocations: 0 / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of Templates: time 0.001984/0.3789, allocations: 0.5435 MB / 462.6 MB, free: 35.25 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)