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.1683/0.169, allocations: 82.22 MB / 0.5935 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02786/0.1969, allocations: 23.17 MB / 0.6161 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.211, allocations: 9.36 MB / 0.6252 GB, free: 5.312 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.2119, allocations: 23.81 kB / 0.6253 GB, free: 5.289 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.2128, allocations: 246.4 kB / 0.6255 GB, free: 5.047 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001863/0.2147, allocations: 0.6487 MB / 0.6261 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.2166, allocations: 0.6404 MB / 0.6268 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.2193, allocations: 1.971 MB / 0.6287 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007936/0.2201, allocations: 437.6 kB / 0.6291 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.2215, allocations: 0.6923 MB / 0.6298 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.2222, allocations: 0.5096 MB / 0.6303 GB, free: 140 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.2223, allocations: 28 kB / 0.6303 GB, free: 112 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.2234, allocations: 459.2 kB / 0.6307 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.2235, allocations: 123.5 kB / 0.6309 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.2238, allocations: 161.3 kB / 0.631 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.2246, allocations: 0.6701 MB / 0.6317 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.2246, allocations: 0 / 0.6317 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2246, allocations: 11.92 kB / 0.6317 GB, free: 14.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2246, allocations: 0 / 0.6317 GB, free: 14.69 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.001373/0.226, allocations: 0.8996 MB / 0.6326 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.226, allocations: 8.031 kB / 0.6326 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.2263, allocations: 83.06 kB / 0.6326 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.227, allocations: 462.7 kB / 0.6331 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2272, allocations: 104.3 kB / 0.6332 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.2272, allocations: 51.98 kB / 0.6332 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.2288, allocations: 0.6627 MB / 0.6339 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2288, allocations: 0 / 0.6339 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.2289, allocations: 24 kB / 0.6339 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.2289, allocations: 16 kB / 0.6339 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.2301, allocations: 446 kB / 0.6343 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.2335, allocations: 2.828 MB / 0.6371 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/0.2344, allocations: 275.5 kB / 0.6374 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.2346, allocations: 82.55 kB / 0.6374 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2346, allocations: 0 / 0.6374 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.2347, allocations: 46.48 kB / 0.6375 GB, free: 8.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.2347, allocations: 0 / 0.6375 GB, free: 8.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.001855/0.2365, allocations: 0.5 MB / 0.638 GB, free: 7.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2367, allocations: 166.2 kB / 0.6381 GB, free: 7.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.2373, allocations: 0.5783 MB / 0.6387 GB, free: 7.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2374, allocations: 33.7 kB / 0.6387 GB, free: 6.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2376, allocations: 339.6 kB / 0.6391 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2377, allocations: 55.3 kB / 0.6391 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.2377, allocations: 8 kB / 0.6391 GB, free: 6.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2379, allocations: 370.8 kB / 0.6395 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2382, allocations: 144.7 kB / 0.6396 GB, free: 6.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.2387, allocations: 274.5 kB / 0.6399 GB, free: 5.758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.2391, allocations: 179.9 kB / 0.64 GB, free: 5.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2391, allocations: 7.953 kB / 0.64 GB, free: 5.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001018/0.2401, allocations: 488.5 kB / 0.6405 GB, free: 5.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.2403, allocations: 177 kB / 0.6407 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2403, allocations: 8 kB / 0.6407 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2403, allocations: 7.938 kB / 0.6407 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/0.2441, allocations: 0.7531 MB / 0.6414 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/0.2507, allocations: 4.846 MB / 0.6462 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.2515, allocations: 103.5 kB / 0.6463 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.2515, allocations: 23.98 kB / 0.6463 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.2516, allocations: 11.94 kB / 0.6463 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005659/0.2521, allocations: 301.3 kB / 0.6466 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2521, allocations: 4 kB / 0.6466 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.2522, allocations: 4 kB / 0.6466 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.2525, allocations: 99.88 kB / 0.6467 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2525, allocations: 4 kB / 0.6467 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.253, allocations: 75.67 kB / 0.6468 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.253, allocations: 16 kB / 0.6468 GB, free: 14.23 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004126/0.2534, allocations: 265.8 kB / 0.647 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.2536, allocations: 67.23 kB / 0.6471 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.13e-05/0.2537, allocations: 56.86 kB / 0.6472 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2537, allocations: 4 kB / 0.6472 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2537, allocations: 0 / 0.6472 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2537, allocations: 0 / 0.6472 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.2548, allocations: 0.6904 MB / 0.6478 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.2548, allocations: 4 kB / 0.6478 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/0.2579, allocations: 0.6556 MB / 0.6485 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2579, allocations: 0 / 0.6485 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.2579, allocations: 7.984 kB / 0.6485 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006068/0.264, allocations: 4.737 MB / 0.6531 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.264, allocations: 3.938 kB / 0.6531 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.2649, allocations: 408.4 kB / 0.6535 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.2653, allocations: 136.3 kB / 0.6536 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/0.2654, allocations: 4 kB / 0.6536 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.2659, allocations: 71.92 kB / 0.6537 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.266, allocations: 27.88 kB / 0.6537 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.266, allocations: 7.984 kB / 0.6537 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005263/0.2666, allocations: 403.1 kB / 0.6541 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2666, allocations: 0 / 0.6541 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001263/0.2678, allocations: 307.2 kB / 0.6544 GB, free: 5.902 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005334/0.2684, allocations: 159.7 kB / 0.6546 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005708/0.2741, allocations: 1.18 MB / 0.6557 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.2741, allocations: 192 / 0.6557 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006819/0.281, allocations: 1.247 MB / 0.6569 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.283, allocations: 312 kB / 0.6572 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.2866, allocations: 1.521 MB / 0.6587 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.2871, allocations: 0.8782 MB / 0.6596 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.2877, allocations: 108.8 kB / 0.6597 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.2878, allocations: 35.44 kB / 0.6597 GB, free: 428 kB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2878, allocations: 0 / 0.6597 GB, free: 428 kB / 0.4981 GB Notification: Performance of Templates: time 0.01824/0.306, allocations: 10.15 MB / 0.6696 GB, free: 6.449 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: