Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108 kB / 15.6 MB, free: 132 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.001384/0.001384, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.697/1.697, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4621/0.4621, 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.001913/0.001913, allocations: 67.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1663, allocations: 59.59 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.3068/0.4731, allocations: 17.41 MB / 472.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.4836, allocations: 6.754 MB / 479.1 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.485, allocations: 16.94 kB / 479.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.4864, allocations: 297.4 kB / 479.4 MB, free: 24.49 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001603/0.488, allocations: 0.5488 MB / 480 MB, free: 24.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.4898, allocations: 0.6424 MB / 480.6 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.4909, allocations: 1.05 MB / 481.6 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.4914, allocations: 346.8 kB / 482 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006916/0.4921, allocations: 483.4 kB / 482.5 MB, free: 23.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.4925, allocations: 355.3 kB / 482.8 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.4926, allocations: 38.53 kB / 482.8 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.4937, allocations: 0.6197 MB / 483.5 MB, free: 22.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4938, allocations: 152.4 kB / 483.6 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.4941, allocations: 280 kB / 483.9 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4951, allocations: 0.8904 MB / 484.8 MB, free: 22.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4951, allocations: 0 / 484.8 MB, free: 22.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4951, allocations: 0.9375 kB / 484.8 MB, free: 22.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4951, allocations: 2.969 kB / 484.8 MB, free: 22.12 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001369/0.4965, allocations: 0.9125 MB / 485.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4966, allocations: 10.03 kB / 485.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.4969, allocations: 72.83 kB / 485.8 MB, free: 21.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.4975, allocations: 459.6 kB / 486.2 MB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.4975, allocations: 31.67 kB / 486.2 MB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.4976, allocations: 44.19 kB / 486.3 MB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4986, allocations: 479.5 kB / 486.8 MB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4986, allocations: 0 / 486.8 MB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.4986, allocations: 16.5 kB / 486.8 MB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.4987, allocations: 19.08 kB / 486.8 MB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/0.4995, allocations: 321.6 kB / 487.1 MB, free: 20.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.5014, allocations: 2.214 MB / 489.3 MB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.5021, allocations: 197.5 kB / 489.5 MB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.5022, allocations: 59.45 kB / 489.6 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.5035, allocations: 0.9201 MB / 490.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5035, allocations: 35.06 kB / 490.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.5035, allocations: 0 / 490.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001315/0.5048, allocations: 358.4 kB / 490.9 MB, free: 17.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.5049, allocations: 114 kB / 491 MB, free: 17.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.5055, allocations: 0.6459 MB / 491.6 MB, free: 17.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5055, allocations: 29.7 kB / 491.7 MB, free: 17.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.5057, allocations: 319.5 kB / 492 MB, free: 17.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.5058, allocations: 43.08 kB / 492 MB, free: 17.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.5059, allocations: 79.64 kB / 492.1 MB, free: 17.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.506, allocations: 369.8 kB / 492.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.5063, allocations: 118.2 kB / 492.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.5067, allocations: 295.8 kB / 492.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.5073, allocations: 336.8 kB / 493.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.5073, allocations: 3.031 kB / 493.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00107/0.5084, allocations: 423.3 kB / 493.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5085, allocations: 8.094 kB / 493.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.5085, allocations: 4.422 kB / 493.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.5085, allocations: 6.719 kB / 493.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.509, allocations: 97.38 kB / 493.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.509, allocations: 6.656 kB / 493.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.5094, allocations: 71.89 kB / 493.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5095, allocations: 18.12 kB / 493.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003629/0.5098, allocations: 227.3 kB / 494 MB, free: 15.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003652/0.5102, allocations: 269.3 kB / 494.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004792/0.5107, allocations: 293.6 kB / 494.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.636e-06/0.5107, allocations: 1.891 kB / 494.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007534/0.5115, allocations: 369.1 kB / 495 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5115, allocations: 8.562 kB / 495 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5115, allocations: 5.75 kB / 495 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5115, allocations: 5.719 kB / 495 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.5118, allocations: 77.47 kB / 495 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.5119, allocations: 16.95 kB / 495.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.5122, allocations: 42.22 kB / 495.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5123, allocations: 17.56 kB / 495.1 MB, free: 15.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * 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 0.0001217/0.5124, allocations: 202.9 kB / 495.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.475e-05/0.5125, allocations: 52.72 kB / 495.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/0.5132, allocations: 242.9 kB / 495.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5132, allocations: 5.062 kB / 495.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5132, allocations: 2.609 kB / 495.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5132, allocations: 0 / 495.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.5136, allocations: 397 kB / 496 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5137, allocations: 4.312 kB / 496 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.5139, allocations: 40.62 kB / 496 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5139, allocations: 1.062 kB / 496 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.5139, allocations: 1.156 kB / 496 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5139, allocations: 5.828 kB / 496.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5139, allocations: 0 / 496.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.5148, allocations: 406.4 kB / 496.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.515, allocations: 127 kB / 496.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.515, allocations: 8.422 kB / 496.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.5154, allocations: 29.98 kB / 496.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.5154, allocations: 11.03 kB / 496.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5154, allocations: 11.44 kB / 496.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006157/0.5161, allocations: 462.4 kB / 497.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5161, allocations: 0 / 497.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009459/0.517, allocations: 231 kB / 497.3 MB, free: 13.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * 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 0.001158/0.5182, allocations: 445.4 kB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.5193, allocations: 400 kB / 498.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5193, allocations: 128 / 498.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.5196, allocations: 81.98 kB / 498.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5209, allocations: 290 kB / 498.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.5245, allocations: 1.158 MB / 499.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.525, allocations: 0.8596 MB / 0.4888 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.5255, allocations: 102.8 kB / 0.4889 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5257, allocations: 43.3 kB / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.515e-06/0.5257, allocations: 0 / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of Templates: time 0.02634/0.552, allocations: 10.62 MB / 0.4993 GB, free: 10.62 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)