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.0009684/0.0009684, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001097/0.001097, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3898/0.3898, allocations: 54.99 MB / 325.4 MB, free: 0.6484 MB / 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.0006331/0.0006333, allocations: 24 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3519, allocations: 60.72 MB / 457.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.01817/0.3701, allocations: 21.27 MB / 478.6 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3802, allocations: 8.812 MB / 487.4 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007467/0.3809, allocations: 26.72 kB / 487.4 MB, free: 21.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3821, allocations: 414.9 kB / 487.8 MB, free: 20.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.3837, allocations: 0.7305 MB / 488.6 MB, free: 20.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005075/0.3888, allocations: 1.933 MB / 490.5 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.3906, allocations: 1 MB / 491.5 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.3912, allocations: 470.6 kB / 491.9 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.3923, allocations: 0.6462 MB / 492.6 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.3928, allocations: 377.8 kB / 493 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.3928, allocations: 28.88 kB / 493 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.3935, allocations: 265.2 kB / 493.2 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3936, allocations: 127.2 kB / 493.4 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3938, allocations: 163.7 kB / 493.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.3944, allocations: 0.6365 MB / 494.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.3944, allocations: 0 / 494.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3944, allocations: 0 / 494.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3944, allocations: 0 / 494.2 MB, free: 17.98 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.001216/0.3957, allocations: 0.9109 MB / 495.1 MB, free: 17.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3957, allocations: 8.062 kB / 495.1 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.396, allocations: 88.36 kB / 495.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.3967, allocations: 474.4 kB / 495.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3968, allocations: 94.62 kB / 495.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.3969, allocations: 53.88 kB / 495.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3984, allocations: 0.6624 MB / 496.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3984, allocations: 1.188 kB / 496.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.3985, allocations: 26.05 kB / 496.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.3985, allocations: 16.84 kB / 496.5 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3997, allocations: 436.3 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.4026, allocations: 2.837 MB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.4034, allocations: 269.6 kB / 0.4883 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.4035, allocations: 2.75 kB / 0.4883 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4035, allocations: 40.77 kB / 0.4883 GB, free: 13.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/0.4035, allocations: 10.38 kB / 0.4883 GB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001954/0.4055, allocations: 0.5058 MB / 0.4888 GB, free: 13.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.4056, allocations: 157.8 kB / 0.489 GB, free: 13.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.4064, allocations: 0.5999 MB / 0.4896 GB, free: 13.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.4064, allocations: 32.27 kB / 0.4896 GB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.4067, allocations: 342.9 kB / 0.4899 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.4067, allocations: 58.08 kB / 0.49 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.4067, allocations: 5.406 kB / 0.49 GB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4068, allocations: 370.2 kB / 0.4903 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.4072, allocations: 146.6 kB / 0.4905 GB, free: 12.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.4077, allocations: 286.1 kB / 0.4908 GB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.4082, allocations: 177.1 kB / 0.4909 GB, free: 12.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4082, allocations: 0.9062 kB / 0.4909 GB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001021/0.4092, allocations: 492 kB / 0.4914 GB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.4094, allocations: 1.227 MB / 0.4926 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4095, allocations: 3.531 kB / 0.4926 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.4095, allocations: 5.531 kB / 0.4926 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/0.4137, allocations: 0.7519 MB / 0.4933 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.4201, allocations: 4.911 MB / 0.4981 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.421, allocations: 105.1 kB / 0.4982 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.421, allocations: 18.14 kB / 0.4983 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.421, allocations: 3.547 kB / 0.4983 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006424/0.4217, allocations: 306.7 kB / 0.4986 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4217, allocations: 3.031 kB / 0.4986 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.4217, allocations: 5.781 kB / 0.4986 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.4221, allocations: 98.33 kB / 0.4987 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4222, allocations: 14.41 kB / 0.4987 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.4227, allocations: 76.98 kB / 0.4987 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.4228, allocations: 16.8 kB / 0.4988 GB, free: 6.41 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004829/0.4233, allocations: 262 kB / 0.499 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.4234, allocations: 67.78 kB / 0.4991 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.4236, allocations: 50.42 kB / 0.4991 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4236, allocations: 1.375 kB / 0.4991 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4236, allocations: 5.422 kB / 0.4991 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4236, allocations: 2.484 kB / 0.4991 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.4249, allocations: 0.6899 MB / 0.4998 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4249, allocations: 5.156 kB / 0.4998 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/0.4285, allocations: 0.6594 MB / 0.5004 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.4286, allocations: 2.094 kB / 0.5005 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4286, allocations: 7.391 kB / 0.5005 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/0.4344, allocations: 4.798 MB / 0.5051 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4345, allocations: 1.438 kB / 0.5051 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.4355, allocations: 447.8 kB / 0.5056 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.4357, allocations: 135.8 kB / 0.5057 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.4358, allocations: 7.594 kB / 0.5057 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.4364, allocations: 75.34 kB / 0.5058 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4366, allocations: 22.28 kB / 0.5058 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.4366, allocations: 10.25 kB / 0.5058 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005802/0.4372, allocations: 409.4 kB / 0.5062 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4372, allocations: 0 / 0.5062 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4384, allocations: 310.3 kB / 0.5065 GB, free: 0.7227 MB / 382.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/0.4388, allocations: 181.9 kB / 0.5067 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.4442, allocations: 1.167 MB / 0.5078 GB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4442, allocations: 0 / 0.5078 GB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006918/0.4512, allocations: 1.249 MB / 0.509 GB, free: 372 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.4532, allocations: 311.9 kB / 0.5093 GB, free: 300 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.4568, allocations: 1.536 MB / 0.5108 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4574, allocations: 0.8994 MB / 0.5117 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.4579, allocations: 111.8 kB / 0.5118 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.458, allocations: 39.06 kB / 0.5119 GB, free: 14.85 MB / 398.1 MB Notification: Performance of SimCode: time 1.085e-05/0.4581, allocations: 1.281 kB / 0.5119 GB, free: 14.85 MB / 398.1 MB Notification: Performance of Templates: time 0.02178/0.4798, allocations: 10.29 MB / 0.5219 GB, free: 9.105 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: