Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 185 kB / 371.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009229/0.0009228, allocations: 99.28 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004226, allocations: 11.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.276, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01216/0.2882, allocations: 14.84 MB / 0.9939 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008563/0.2968, allocations: 6.685 MB / 1 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.2975, allocations: 19.81 kB / 1 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.2986, allocations: 286.7 kB / 1.001 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.2999, allocations: 0.5546 MB / 1.001 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.3046, allocations: 1.678 MB / 1.003 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008241/0.3054, allocations: 0.5934 MB / 1.003 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.3058, allocations: 274.5 kB / 1.004 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.3062, allocations: 326.8 kB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3065, allocations: 223 kB / 1.004 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.3065, allocations: 16 kB / 1.004 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007209/0.3073, allocations: 443.3 kB / 1.005 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.3073, allocations: 111.6 kB / 1.005 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.3074, allocations: 105.5 kB / 1.005 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.308, allocations: 0.5416 MB / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.308, allocations: 0 / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.308, allocations: 3.938 kB / 1.005 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.308, allocations: 0 / 1.005 GB, free: 1.02 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001005/0.309, allocations: 0.7631 MB / 1.006 GB, free: 212 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3091, allocations: 8.031 kB / 1.006 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3092, allocations: 67.23 kB / 1.006 GB, free: 136 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.3098, allocations: 428.8 kB / 1.007 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3099, allocations: 28.55 kB / 1.007 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.3099, allocations: 32 kB / 1.007 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.3104, allocations: 286.2 kB / 1.007 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3105, allocations: 4 kB / 1.007 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3105, allocations: 8 kB / 1.007 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3105, allocations: 12 kB / 1.007 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.3109, allocations: 198.1 kB / 1.007 GB, free: 15.09 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.3128, allocations: 1.484 MB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3131, allocations: 166.8 kB / 1.009 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.3147, allocations: 1.288 MB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3147, allocations: 30.56 kB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3147, allocations: 4 kB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006134/0.3154, allocations: 261.1 kB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3154, allocations: 51.41 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.316, allocations: 0.5886 MB / 1.011 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3161, allocations: 29.64 kB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3163, allocations: 276.1 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.3163, allocations: 51.2 kB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.3163, allocations: 8 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3165, allocations: 362.7 kB / 1.012 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3167, allocations: 76.52 kB / 1.012 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.317, allocations: 214.7 kB / 1.012 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.3172, allocations: 102 kB / 1.012 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3172, allocations: 0 / 1.012 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005605/0.3178, allocations: 324.8 kB / 1.012 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.3182, allocations: 0.96 MB / 1.013 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3182, allocations: 4 kB / 1.013 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3182, allocations: 4 kB / 1.013 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3184, allocations: 63.91 kB / 1.013 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3185, allocations: 7.938 kB / 1.013 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.3188, allocations: 55.66 kB / 1.013 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.3188, allocations: 12 kB / 1.013 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.3189, allocations: 4 kB / 1.013 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004572/0.3193, allocations: 245.8 kB / 1.014 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3193, allocations: 0 / 1.014 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.3193, allocations: 7.984 kB / 1.014 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3196, allocations: 67.91 kB / 1.014 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3196, allocations: 12.2 kB / 1.014 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.3199, allocations: 43.72 kB / 1.014 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3199, allocations: 12 kB / 1.014 GB, free: 7.828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.3201, allocations: 261 kB / 1.014 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.3202, allocations: 43.44 kB / 1.014 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.3207, allocations: 273.5 kB / 1.014 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3208, allocations: 4 kB / 1.014 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3208, allocations: 4 kB / 1.014 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3208, allocations: 0 / 1.014 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3218, allocations: 0.7512 MB / 1.015 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3218, allocations: 0 / 1.015 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.322, allocations: 35.91 kB / 1.015 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.322, allocations: 4 kB / 1.015 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.322, allocations: 4 kB / 1.015 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.322, allocations: 0 / 1.015 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.322, allocations: 4.094 kB / 1.015 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.3226, allocations: 420 kB / 1.016 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.3227, allocations: 156.4 kB / 1.016 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.3228, allocations: 4 kB / 1.016 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.323, allocations: 23.94 kB / 1.016 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3231, allocations: 11.98 kB / 1.016 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3231, allocations: 12 kB / 1.016 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004496/0.3235, allocations: 418.7 kB / 1.016 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3235, allocations: 0 / 1.016 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007387/0.3243, allocations: 227.7 kB / 1.016 GB, free: 5.059 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.3255, allocations: 492.2 kB / 1.017 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007261/0.3262, allocations: 324.5 kB / 1.017 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3262, allocations: 0 / 1.017 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3264, allocations: 103.9 kB / 1.017 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.3276, allocations: 253 kB / 1.018 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.329, allocations: 0.9497 MB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.3295, allocations: 0.8584 MB / 1.019 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.3299, allocations: 100.7 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.3299, allocations: 35.44 kB / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.33, allocations: 0 / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.01715/0.3471, allocations: 9.622 MB / 1.029 GB, free: 8.492 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)