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.001728/0.001728, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002877/0.002877, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.66/1.66, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4127/0.4127, allocations: 54.93 MB / 324.4 MB, free: 28 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.00141/0.00141, allocations: 67.91 kB / 394.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 59.59 MB / 454.5 MB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.2487/0.3929, allocations: 25.12 MB / 479.6 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.4036, allocations: 9.922 MB / 489.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.4049, allocations: 20.72 kB / 489.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.406, allocations: 307.5 kB / 489.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.4078, allocations: 0.7265 MB / 490.6 MB, free: 16.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4096, allocations: 0.7125 MB / 491.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4111, allocations: 1.687 MB / 493 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.4118, allocations: 0.5643 MB / 493.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.4129, allocations: 0.8318 MB / 494.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.4134, allocations: 0.5556 MB / 495 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.4135, allocations: 51.44 kB / 495 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008111/0.4143, allocations: 0.4974 MB / 495.5 MB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4145, allocations: 159.2 kB / 495.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.4149, allocations: 388.5 kB / 496 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.4158, allocations: 0.96 MB / 497 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4159, allocations: 0 / 497 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4159, allocations: 0 / 497 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.4159, allocations: 1.75 kB / 497 MB, free: 13.32 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.001364/0.4173, allocations: 1.038 MB / 498 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4173, allocations: 9.75 kB / 498 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.4176, allocations: 89.98 kB / 498.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.4181, allocations: 0.4894 MB / 498.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.4183, allocations: 97.28 kB / 498.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.4183, allocations: 51.53 kB / 498.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4197, allocations: 0.6273 MB / 499.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4198, allocations: 5.188 kB / 499.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.4198, allocations: 22.53 kB / 499.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.4199, allocations: 13.31 kB / 499.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.421, allocations: 401.7 kB / 499.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.4236, allocations: 2.819 MB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/0.4245, allocations: 233.9 kB / 0.4911 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4247, allocations: 78.22 kB / 0.4912 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.4247, allocations: 6.797 kB / 0.4912 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4247, allocations: 47.66 kB / 0.4912 GB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.474e-06/0.4247, allocations: 3.938 kB / 0.4912 GB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001826/0.4266, allocations: 430.2 kB / 0.4916 GB, free: 9.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4266, allocations: 156.4 kB / 0.4918 GB, free: 8.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.4273, allocations: 0.5992 MB / 0.4924 GB, free: 8.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.4273, allocations: 36.02 kB / 0.4924 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.4276, allocations: 350.7 kB / 0.4927 GB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.4276, allocations: 47.16 kB / 0.4928 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4277, allocations: 85.92 kB / 0.4929 GB, free: 8.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.4278, allocations: 374.1 kB / 0.4932 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.4282, allocations: 137 kB / 0.4933 GB, free: 7.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.4286, allocations: 261.8 kB / 0.4936 GB, free: 7.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.4293, allocations: 342.7 kB / 0.4939 GB, free: 7.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4293, allocations: 1.312 kB / 0.4939 GB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009261/0.4302, allocations: 458.9 kB / 0.4944 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4302, allocations: 8.234 kB / 0.4944 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4302, allocations: 7.375 kB / 0.4944 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4303, allocations: 5.625 kB / 0.4944 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004028/0.4343, allocations: 0.5596 MB / 0.4949 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00651/0.4408, allocations: 4.954 MB / 0.4998 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.442, allocations: 92.73 kB / 0.4999 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.4421, allocations: 18.98 kB / 0.4999 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005331/0.4426, allocations: 232.6 kB / 0.5001 GB, free: 2.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003384/0.4429, allocations: 228.6 kB / 0.5003 GB, free: 2.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000508/0.4435, allocations: 282.2 kB / 0.5006 GB, free: 2.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.4435, allocations: 1.406 kB / 0.5006 GB, free: 2.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0009228/0.4444, allocations: 383.8 kB / 0.5009 GB, free: 1.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4444, allocations: 7.5 kB / 0.501 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4444, allocations: 4.328 kB / 0.501 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.4445, allocations: 5.75 kB / 0.501 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.4449, allocations: 95.16 kB / 0.5011 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4449, allocations: 6.641 kB / 0.5011 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.4456, allocations: 68.31 kB / 0.5011 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.4456, allocations: 17.77 kB / 0.5011 GB, free: 1.934 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.0002323/0.4458, allocations: 206.7 kB / 0.5013 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.446, allocations: 64.59 kB / 0.5014 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.4461, allocations: 54.03 kB / 0.5015 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4461, allocations: 1.984 kB / 0.5015 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4462, allocations: 2.375 kB / 0.5015 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4462, allocations: 1.938 kB / 0.5015 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4472, allocations: 0.7004 MB / 0.5021 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4472, allocations: 5.75 kB / 0.5022 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/0.4506, allocations: 491.7 kB / 0.5026 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4506, allocations: 1.281 kB / 0.5026 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.4507, allocations: 2.578 kB / 0.5026 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005984/0.4566, allocations: 4.848 MB / 0.5074 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4567, allocations: 3.938 kB / 0.5074 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.4575, allocations: 375.8 kB / 0.5077 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.4578, allocations: 137.3 kB / 0.5079 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.4579, allocations: 6 kB / 0.5079 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.4584, allocations: 68.72 kB / 0.5079 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.4585, allocations: 16.11 kB / 0.5079 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.4585, allocations: 7.906 kB / 0.5079 GB, free: 12.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005409/0.4591, allocations: 414.7 kB / 0.5083 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4591, allocations: 3.938 kB / 0.5083 GB, free: 12.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4602, allocations: 305.6 kB / 0.5086 GB, free: 12.06 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.0004398/0.4606, allocations: 183.9 kB / 0.5088 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00512/0.4658, allocations: 0.957 MB / 0.5097 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4658, allocations: 1.156 kB / 0.5097 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006755/0.4726, allocations: 0.9907 MB / 0.5107 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.4742, allocations: 285.1 kB / 0.511 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.4776, allocations: 1.436 MB / 0.5124 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.4782, allocations: 0.8868 MB / 0.5133 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005132/0.4787, allocations: 107.3 kB / 0.5134 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.4788, allocations: 43.56 kB / 0.5134 GB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4788, allocations: 0 / 0.5134 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Templates: time 0.02218/0.501, allocations: 10.8 MB / 0.5239 GB, free: 4.664 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)