Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.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.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 108 kB / 15.61 MB, free: 152 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.002158/0.002157, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.696/1.696, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4059/0.4059, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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.001599/0.001599, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.3272/0.4647, allocations: 25.29 MB / 480.2 MB, free: 23.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4868, allocations: 9.899 MB / 490.1 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.4888, allocations: 25.19 kB / 490.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.4906, allocations: 353.5 kB / 490.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.4931, allocations: 0.7962 MB / 491.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.4954, allocations: 0.7741 MB / 492.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.4982, allocations: 1.678 MB / 493.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.4998, allocations: 0.5795 MB / 494.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.5025, allocations: 0.8301 MB / 495.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.5039, allocations: 0.5435 MB / 495.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.5041, allocations: 52.16 kB / 495.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.5057, allocations: 0.4973 MB / 496.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.5061, allocations: 154.1 kB / 496.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008592/0.5069, allocations: 385.3 kB / 496.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.5089, allocations: 0.9597 MB / 497.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5089, allocations: 0 / 497.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5089, allocations: 0 / 497.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.177e-05/0.509, allocations: 0.5625 kB / 497.7 MB, free: 13.41 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002726/0.5117, allocations: 1.037 MB / 498.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5117, allocations: 9.594 kB / 498.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.5122, allocations: 88.52 kB / 498.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/0.5132, allocations: 0.4911 MB / 499.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.5133, allocations: 100.7 kB / 499.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.5134, allocations: 55.27 kB / 499.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.515, allocations: 0.6201 MB / 0.4884 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.515, allocations: 7.594 kB / 0.4884 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.5151, allocations: 26.28 kB / 0.4884 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.5151, allocations: 12.03 kB / 0.4884 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.5164, allocations: 402.5 kB / 0.4888 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.5204, allocations: 2.833 MB / 0.4916 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.5214, allocations: 233.5 kB / 0.4918 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.5216, allocations: 78.89 kB / 0.4919 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.5216, allocations: 2.938 kB / 0.4919 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.5217, allocations: 46.58 kB / 0.4919 GB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.5217, allocations: 0.9688 kB / 0.4919 GB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.00215/0.5238, allocations: 434.7 kB / 0.4923 GB, free: 9.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.5239, allocations: 158.6 kB / 0.4925 GB, free: 8.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.5249, allocations: 0.6021 MB / 0.4931 GB, free: 8.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.525, allocations: 32.64 kB / 0.4931 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.5253, allocations: 351.1 kB / 0.4935 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.5253, allocations: 46.55 kB / 0.4935 GB, free: 8.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.5255, allocations: 81.19 kB / 0.4936 GB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5257, allocations: 375.9 kB / 0.4939 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.5262, allocations: 141.1 kB / 0.4941 GB, free: 7.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.5266, allocations: 261.4 kB / 0.4943 GB, free: 7.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.5274, allocations: 349.7 kB / 0.4947 GB, free: 7.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5274, allocations: 0.9688 kB / 0.4947 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001123/0.5285, allocations: 456.2 kB / 0.4951 GB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5286, allocations: 11.41 kB / 0.4951 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5286, allocations: 3.422 kB / 0.4951 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.5286, allocations: 9.312 kB / 0.4951 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/0.5325, allocations: 0.56 MB / 0.4957 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.5392, allocations: 4.956 MB / 0.5005 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.5399, allocations: 74.28 kB / 0.5006 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.5399, allocations: 17.02 kB / 0.5006 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003961/0.5403, allocations: 235.2 kB / 0.5008 GB, free: 2.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003002/0.5406, allocations: 234.6 kB / 0.501 GB, free: 2.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004742/0.5411, allocations: 278.3 kB / 0.5013 GB, free: 2.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.5411, allocations: 3.344 kB / 0.5013 GB, free: 2.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0009542/0.5421, allocations: 378.2 kB / 0.5017 GB, free: 2.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5421, allocations: 7.984 kB / 0.5017 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5421, allocations: 7.375 kB / 0.5017 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.5422, allocations: 5.125 kB / 0.5017 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.5426, allocations: 96.09 kB / 0.5018 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5426, allocations: 5.172 kB / 0.5018 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.5431, allocations: 48.53 kB / 0.5018 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.5431, allocations: 16.03 kB / 0.5018 GB, free: 2.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.5433, allocations: 200.6 kB / 0.502 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.5435, allocations: 68.09 kB / 0.5021 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.5436, allocations: 55.52 kB / 0.5021 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5436, allocations: 1.375 kB / 0.5021 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5436, allocations: 2.125 kB / 0.5022 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.5436, allocations: 1.547 kB / 0.5022 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5447, allocations: 0.691 MB / 0.5028 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5447, allocations: 5.188 kB / 0.5028 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/0.548, allocations: 492.5 kB / 0.5033 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.548, allocations: 3.938 kB / 0.5033 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.5481, allocations: 2.562 kB / 0.5033 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.5543, allocations: 4.851 MB / 0.508 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5543, allocations: 1.375 kB / 0.508 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.5553, allocations: 381.2 kB / 0.5084 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.5556, allocations: 135.2 kB / 0.5085 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5557, allocations: 3.594 kB / 0.5085 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.5563, allocations: 48.22 kB / 0.5086 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.5564, allocations: 13.53 kB / 0.5086 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.5565, allocations: 10.75 kB / 0.5086 GB, free: 12.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006762/0.5571, allocations: 415.5 kB / 0.509 GB, free: 12.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5571, allocations: 0 / 0.509 GB, free: 12.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001261/0.5584, allocations: 309.1 kB / 0.5093 GB, free: 12.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005025/0.5589, allocations: 170.5 kB / 0.5095 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0052/0.5641, allocations: 0.9487 MB / 0.5104 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.5642, allocations: 0 / 0.5104 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006724/0.5709, allocations: 1.001 MB / 0.5114 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.5729, allocations: 282.2 kB / 0.5116 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.577, allocations: 1.239 MB / 0.5128 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.5778, allocations: 0.8821 MB / 0.5137 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007678/0.5786, allocations: 113.9 kB / 0.5138 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5787, allocations: 43.75 kB / 0.5139 GB, free: 10.47 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5787, allocations: 0 / 0.5139 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Templates: time 0.02621/0.6049, allocations: 10.92 MB / 0.5245 GB, free: 4.258 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1)