Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1841/0.1849, allocations: 82.23 MB / 0.5941 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02548/0.2105, allocations: 24.44 MB / 0.618 GB, free: 13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2256, allocations: 10.16 MB / 0.6279 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009766/0.2266, allocations: 23.81 kB / 0.6279 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2277, allocations: 286.3 kB / 0.6282 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.2301, allocations: 0.726 MB / 0.6289 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.2324, allocations: 0.6837 MB / 0.6296 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003245/0.2357, allocations: 2.338 MB / 0.6319 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009848/0.2367, allocations: 485.6 kB / 0.6323 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.239, allocations: 0.7312 MB / 0.6331 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.2403, allocations: 0.5328 MB / 0.6336 GB, free: 13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.2404, allocations: 28 kB / 0.6336 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.2417, allocations: 471.2 kB / 0.634 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.242, allocations: 127.4 kB / 0.6342 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.2425, allocations: 371.8 kB / 0.6345 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.2439, allocations: 0.903 MB / 0.6354 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2439, allocations: 0 / 0.6354 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.2439, allocations: 0 / 0.6354 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2439, allocations: 7.938 kB / 0.6354 GB, free: 11.1 MB / 494.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.001618/0.2456, allocations: 0.8919 MB / 0.6363 GB, free: 10.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2456, allocations: 8.031 kB / 0.6363 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.2459, allocations: 88 kB / 0.6364 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/0.2466, allocations: 479.7 kB / 0.6368 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2467, allocations: 112.2 kB / 0.6369 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.2468, allocations: 48 kB / 0.637 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.2486, allocations: 0.6628 MB / 0.6376 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2486, allocations: 7.938 kB / 0.6376 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.2487, allocations: 16 kB / 0.6377 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.2487, allocations: 12 kB / 0.6377 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.25, allocations: 454 kB / 0.6381 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.2536, allocations: 2.831 MB / 0.6409 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.2545, allocations: 279.5 kB / 0.6411 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2547, allocations: 78.55 kB / 0.6412 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.2547, allocations: 4 kB / 0.6412 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2548, allocations: 42.55 kB / 0.6413 GB, free: 4.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.2548, allocations: 0 / 0.6413 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.00205/0.2568, allocations: 0.5046 MB / 0.6417 GB, free: 4.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.257, allocations: 158.2 kB / 0.6419 GB, free: 3.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.2576, allocations: 0.5824 MB / 0.6425 GB, free: 3.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.2577, allocations: 33.7 kB / 0.6425 GB, free: 3.363 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.258, allocations: 351.6 kB / 0.6428 GB, free: 3.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.2581, allocations: 47.3 kB / 0.6429 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.2581, allocations: 45.69 kB / 0.6429 GB, free: 2.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2583, allocations: 370.7 kB / 0.6433 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.2587, allocations: 144.6 kB / 0.6434 GB, free: 2.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.2592, allocations: 281.6 kB / 0.6437 GB, free: 2.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/0.2601, allocations: 376.1 kB / 0.644 GB, free: 1.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2601, allocations: 4 kB / 0.644 GB, free: 1.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001126/0.2612, allocations: 485.9 kB / 0.6445 GB, free: 1.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.2614, allocations: 177.2 kB / 0.6447 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.2614, allocations: 4 kB / 0.6447 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.2615, allocations: 4 kB / 0.6447 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/0.2657, allocations: 0.757 MB / 0.6454 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00737/0.2731, allocations: 4.858 MB / 0.6502 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.274, allocations: 103.5 kB / 0.6503 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.274, allocations: 23.94 kB / 0.6503 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2741, allocations: 4 kB / 0.6503 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006255/0.2747, allocations: 311.9 kB / 0.6506 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2747, allocations: 4 kB / 0.6506 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.049e-06/0.2747, allocations: 4 kB / 0.6506 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.2751, allocations: 99.88 kB / 0.6507 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2751, allocations: 7.938 kB / 0.6507 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.2756, allocations: 79.8 kB / 0.6508 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.2756, allocations: 12 kB / 0.6508 GB, free: 10.31 MB / 0.4981 GB 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.0003557/0.276, allocations: 261.9 kB / 0.651 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2761, allocations: 59.28 kB / 0.6511 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.2762, allocations: 48.92 kB / 0.6511 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2762, allocations: 7.938 kB / 0.6511 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2762, allocations: 3.984 kB / 0.6512 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2762, allocations: 0 / 0.6512 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/0.2771, allocations: 0.6942 MB / 0.6518 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2771, allocations: 4.062 kB / 0.6518 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/0.2805, allocations: 0.6633 MB / 0.6525 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2805, allocations: 0 / 0.6525 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2806, allocations: 0 / 0.6525 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006837/0.2874, allocations: 4.741 MB / 0.6571 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2874, allocations: 0 / 0.6571 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.2883, allocations: 416.4 kB / 0.6575 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2886, allocations: 132.4 kB / 0.6576 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.2886, allocations: 7.938 kB / 0.6576 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.2892, allocations: 87.77 kB / 0.6577 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.2893, allocations: 11.97 kB / 0.6577 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.2893, allocations: 8 kB / 0.6577 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004819/0.2898, allocations: 407.1 kB / 0.6581 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2898, allocations: 0 / 0.6581 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001003/0.2908, allocations: 299.4 kB / 0.6584 GB, free: 1.984 MB / 0.4981 GB 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.0004253/0.2913, allocations: 182.6 kB / 0.6586 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005511/0.2968, allocations: 1.176 MB / 0.6597 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.2968, allocations: 4.062 kB / 0.6597 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007168/0.304, allocations: 1.245 MB / 0.661 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.3061, allocations: 311.8 kB / 0.6613 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.3099, allocations: 1.594 MB / 0.6628 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.3106, allocations: 0.8821 MB / 0.6637 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006474/0.3113, allocations: 108.7 kB / 0.6638 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3114, allocations: 35.44 kB / 0.6638 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of SimCode: time 1.613e-06/0.3114, allocations: 0 / 0.6638 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.02174/0.3331, allocations: 10.48 MB / 0.674 GB, free: 2.105 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1) Environment - environmentSimulation: