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.1976/0.1996, allocations: 80.83 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02734/0.227, allocations: 25.11 MB / 0.6142 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.243, allocations: 10.31 MB / 0.6243 GB, free: 3.578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2445, allocations: 19.81 kB / 0.6243 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.2458, allocations: 286.4 kB / 0.6246 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.2482, allocations: 0.7226 MB / 0.6253 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.2505, allocations: 0.695 MB / 0.6259 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.2533, allocations: 2.326 MB / 0.6282 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.2541, allocations: 491.8 kB / 0.6287 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.2557, allocations: 0.7507 MB / 0.6294 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008599/0.2566, allocations: 0.5445 MB / 0.6299 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.171e-05/0.2567, allocations: 36 kB / 0.63 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.2577, allocations: 483.3 kB / 0.6304 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.2579, allocations: 135.4 kB / 0.6306 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.2583, allocations: 362.1 kB / 0.6309 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2594, allocations: 0.915 MB / 0.6318 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2594, allocations: 0 / 0.6318 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2594, allocations: 0 / 0.6318 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.2595, allocations: 0 / 0.6318 GB, free: 11.82 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.001745/0.2612, allocations: 1.028 MB / 0.6328 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2613, allocations: 8.031 kB / 0.6328 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.2616, allocations: 84 kB / 0.6329 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.2623, allocations: 483.7 kB / 0.6334 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2624, allocations: 100.3 kB / 0.6335 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.2625, allocations: 52 kB / 0.6335 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.2641, allocations: 0.6275 MB / 0.6341 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2641, allocations: 0 / 0.6341 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.2642, allocations: 16 kB / 0.6341 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.2642, allocations: 16 kB / 0.6341 GB, free: 9.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.2655, allocations: 410 kB / 0.6345 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.2692, allocations: 2.804 MB / 0.6373 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.2701, allocations: 235.6 kB / 0.6375 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2703, allocations: 82.48 kB / 0.6376 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2704, allocations: 7.984 kB / 0.6376 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/0.2704, allocations: 38.55 kB / 0.6376 GB, free: 5.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.2704, allocations: 0 / 0.6376 GB, free: 5.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.00199/0.2724, allocations: 436.9 kB / 0.638 GB, free: 5.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.2726, allocations: 162.2 kB / 0.6382 GB, free: 4.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.2735, allocations: 0.5861 MB / 0.6388 GB, free: 4.223 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.2735, allocations: 37.69 kB / 0.6388 GB, free: 4.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.2739, allocations: 339.6 kB / 0.6391 GB, free: 3.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.2739, allocations: 51.38 kB / 0.6392 GB, free: 3.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2741, allocations: 89.95 kB / 0.6393 GB, free: 3.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.2744, allocations: 366.7 kB / 0.6396 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.2747, allocations: 138.2 kB / 0.6397 GB, free: 3.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.2752, allocations: 257.8 kB / 0.64 GB, free: 2.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.2759, allocations: 344.1 kB / 0.6403 GB, free: 2.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2759, allocations: 4 kB / 0.6403 GB, free: 2.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009365/0.2768, allocations: 458 kB / 0.6408 GB, free: 2.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2769, allocations: 4 kB / 0.6408 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2769, allocations: 4 kB / 0.6408 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.2769, allocations: 4 kB / 0.6408 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004049/0.281, allocations: 0.5656 MB / 0.6413 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/0.2883, allocations: 4.604 MB / 0.6458 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/0.2891, allocations: 87.38 kB / 0.6459 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.2891, allocations: 24.05 kB / 0.6459 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004715/0.2896, allocations: 228.7 kB / 0.6461 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003333/0.2899, allocations: 242.3 kB / 0.6464 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00043/0.2904, allocations: 273.9 kB / 0.6466 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.2904, allocations: 7.938 kB / 0.6466 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007189/0.2911, allocations: 389.5 kB / 0.647 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2911, allocations: 6.188 kB / 0.647 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2912, allocations: 4 kB / 0.647 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.2912, allocations: 8 kB / 0.647 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.2916, allocations: 99.81 kB / 0.6471 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2916, allocations: 4 kB / 0.6471 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.292, allocations: 59.98 kB / 0.6472 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.2921, allocations: 19.98 kB / 0.6472 GB, free: 10.94 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.0002152/0.2923, allocations: 204.1 kB / 0.6474 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.2924, allocations: 63.25 kB / 0.6475 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.066e-05/0.2925, allocations: 52.92 kB / 0.6475 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2926, allocations: 4 kB / 0.6475 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2926, allocations: 0 / 0.6475 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2926, allocations: 0 / 0.6475 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.2936, allocations: 0.6942 MB / 0.6482 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2936, allocations: 4 kB / 0.6482 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/0.2968, allocations: 487.4 kB / 0.6487 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2968, allocations: 4 kB / 0.6487 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2969, allocations: 7.984 kB / 0.6487 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006282/0.3031, allocations: 4.511 MB / 0.6531 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3032, allocations: 0 / 0.6531 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.304, allocations: 376.4 kB / 0.6534 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.3042, allocations: 132.4 kB / 0.6536 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3043, allocations: 0 / 0.6536 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.3048, allocations: 71.77 kB / 0.6536 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.3049, allocations: 11.98 kB / 0.6536 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.3049, allocations: 19.86 kB / 0.6537 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005159/0.3055, allocations: 407.1 kB / 0.6541 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3055, allocations: 0 / 0.6541 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001072/0.3066, allocations: 299.4 kB / 0.6543 GB, free: 3.129 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.0004571/0.307, allocations: 175.9 kB / 0.6545 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005042/0.3121, allocations: 0.9376 MB / 0.6554 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.3121, allocations: 0 / 0.6554 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006682/0.3188, allocations: 0.9957 MB / 0.6564 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.3206, allocations: 307.4 kB / 0.6567 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.324, allocations: 1.426 MB / 0.6581 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.3245, allocations: 0.8782 MB / 0.6589 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004511/0.325, allocations: 100.8 kB / 0.659 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.3251, allocations: 47.42 kB / 0.6591 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.3251, allocations: 0 / 0.6591 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.02009/0.3452, allocations: 10.53 MB / 0.6694 GB, free: 3.867 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (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)