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.001205/0.001205, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01092/0.01092, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.644/1.644, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4302/0.4302, allocations: 55.02 MB / 325.7 MB, free: 0.625 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.0005211/0.000521, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 60.71 MB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.01863/0.3498, allocations: 24.52 MB / 482.5 MB, free: 24.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.361, allocations: 10.18 MB / 492.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.3619, allocations: 23.19 kB / 492.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.363, allocations: 292.8 kB / 493 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.3653, allocations: 0.7259 MB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.3672, allocations: 0.7073 MB / 494.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3696, allocations: 2.357 MB / 496.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3706, allocations: 495.4 kB / 497.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.3726, allocations: 0.7374 MB / 498 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.3741, allocations: 0.5434 MB / 498.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.3743, allocations: 28.62 kB / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3758, allocations: 466.9 kB / 499 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.3761, allocations: 132.9 kB / 499.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.3768, allocations: 382.8 kB / 499.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3781, allocations: 0.9272 MB / 0.4887 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3781, allocations: 0 / 0.4887 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3781, allocations: 0 / 0.4887 GB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.3782, allocations: 0 / 0.4887 GB, free: 14.16 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.002648/0.3808, allocations: 0.9056 MB / 0.4896 GB, free: 13.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3809, allocations: 8.812 kB / 0.4896 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.3815, allocations: 90.59 kB / 0.4897 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3826, allocations: 499.4 kB / 0.4902 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3827, allocations: 96.38 kB / 0.4903 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.3828, allocations: 59.39 kB / 0.4903 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3846, allocations: 0.668 MB / 0.491 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3846, allocations: 3.938 kB / 0.491 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.3847, allocations: 27.56 kB / 0.491 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.3847, allocations: 13.19 kB / 0.491 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.386, allocations: 442.2 kB / 0.4914 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.3893, allocations: 2.833 MB / 0.4942 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.3903, allocations: 271.1 kB / 0.4945 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3905, allocations: 86.14 kB / 0.4945 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3905, allocations: 2.875 kB / 0.4946 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3906, allocations: 33.75 kB / 0.4946 GB, free: 10.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.3906, allocations: 8.875 kB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.00216/0.3928, allocations: 0.5108 MB / 0.4951 GB, free: 9.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.3928, allocations: 156.1 kB / 0.4952 GB, free: 9.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.3938, allocations: 0.6036 MB / 0.4958 GB, free: 9.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.3938, allocations: 31.92 kB / 0.4959 GB, free: 9.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3941, allocations: 350.7 kB / 0.4962 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.3941, allocations: 51.72 kB / 0.4962 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.3942, allocations: 44.69 kB / 0.4963 GB, free: 9.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3944, allocations: 371.5 kB / 0.4966 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.3948, allocations: 146.1 kB / 0.4968 GB, free: 8.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.3953, allocations: 285.7 kB / 0.4971 GB, free: 8.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.396, allocations: 372.5 kB / 0.4974 GB, free: 8.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3961, allocations: 1.156 kB / 0.4974 GB, free: 8.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001057/0.3971, allocations: 490.6 kB / 0.4979 GB, free: 8.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/0.3972, allocations: 180.4 kB / 0.498 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3972, allocations: 4.344 kB / 0.4981 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.3973, allocations: 10.55 kB / 0.4981 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/0.4016, allocations: 0.7515 MB / 0.4988 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.4081, allocations: 4.861 MB / 0.5035 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.4089, allocations: 106.3 kB / 0.5036 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4089, allocations: 16.31 kB / 0.5037 GB, free: 3.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.4089, allocations: 4.125 kB / 0.5037 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005992/0.4095, allocations: 311.2 kB / 0.504 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4096, allocations: 3.688 kB / 0.504 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.4096, allocations: 5.5 kB / 0.504 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.41, allocations: 102.2 kB / 0.5041 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.41, allocations: 10.03 kB / 0.5041 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.4105, allocations: 75.39 kB / 0.5041 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.4106, allocations: 17.14 kB / 0.5042 GB, free: 3.453 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.0003085/0.4109, allocations: 261.7 kB / 0.5044 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.411, allocations: 60.45 kB / 0.5045 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.4111, allocations: 51.19 kB / 0.5045 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4111, allocations: 1 kB / 0.5045 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4111, allocations: 3.922 kB / 0.5045 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4112, allocations: 4.562 kB / 0.5045 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.4121, allocations: 0.6982 MB / 0.5052 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4122, allocations: 1.984 kB / 0.5052 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003566/0.4157, allocations: 0.6561 MB / 0.5059 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4157, allocations: 1.531 kB / 0.5059 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4158, allocations: 11.66 kB / 0.5059 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.422, allocations: 4.738 MB / 0.5105 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.422, allocations: 4.328 kB / 0.5105 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.4229, allocations: 425.2 kB / 0.5109 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.4232, allocations: 133.2 kB / 0.511 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4233, allocations: 11.81 kB / 0.511 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.4239, allocations: 77.31 kB / 0.5111 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.424, allocations: 16.8 kB / 0.5111 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.4241, allocations: 14.17 kB / 0.5111 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006818/0.4247, allocations: 419.5 kB / 0.5115 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4248, allocations: 0 / 0.5115 GB, free: 13.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001375/0.4261, allocations: 304.9 kB / 0.5118 GB, free: 13.79 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.0005487/0.4267, allocations: 180.1 kB / 0.512 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005596/0.4323, allocations: 1.17 MB / 0.5132 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4323, allocations: 0 / 0.5132 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007506/0.4398, allocations: 1.25 MB / 0.5144 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.4424, allocations: 314.1 kB / 0.5147 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.4471, allocations: 1.605 MB / 0.5162 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.4478, allocations: 0.8812 MB / 0.5171 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.4485, allocations: 113.4 kB / 0.5172 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4486, allocations: 43.97 kB / 0.5172 GB, free: 11.85 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4486, allocations: 0 / 0.5172 GB, free: 11.85 MB / 398.1 MB Notification: Performance of Templates: time 0.0239/0.4725, allocations: 10.65 MB / 0.5277 GB, free: 3.645 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: