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.1571/0.1579, allocations: 82.21 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02077/0.1787, allocations: 21.22 MB / 0.6141 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.191, allocations: 8.808 MB / 0.6227 GB, free: 7.914 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.1917, allocations: 27.75 kB / 0.6227 GB, free: 7.887 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1929, allocations: 406.2 kB / 0.6231 GB, free: 7.488 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.1947, allocations: 0.7277 MB / 0.6238 GB, free: 6.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005095/0.1998, allocations: 1.912 MB / 0.6257 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.2012, allocations: 0.9916 MB / 0.6266 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.202, allocations: 457.6 kB / 0.6271 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.2035, allocations: 0.6385 MB / 0.6277 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.204, allocations: 362.4 kB / 0.6281 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.2041, allocations: 28 kB / 0.6281 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006113/0.2047, allocations: 275.6 kB / 0.6283 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2049, allocations: 119.5 kB / 0.6285 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.205, allocations: 161.3 kB / 0.6286 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.2057, allocations: 0.6195 MB / 0.6292 GB, free: 1.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2057, allocations: 7.938 kB / 0.6292 GB, free: 1.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2057, allocations: 0 / 0.6292 GB, free: 1.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2057, allocations: 0 / 0.6292 GB, free: 1.215 MB / 478.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.001391/0.2071, allocations: 0.8994 MB / 0.6301 GB, free: 272 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2072, allocations: 12.03 kB / 0.6301 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.2074, allocations: 79.16 kB / 0.6302 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.2081, allocations: 462.7 kB / 0.6306 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2082, allocations: 96.39 kB / 0.6307 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.2083, allocations: 56 kB / 0.6308 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2098, allocations: 0.6541 MB / 0.6314 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2098, allocations: 7.938 kB / 0.6314 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.2098, allocations: 24 kB / 0.6314 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.2099, allocations: 15.98 kB / 0.6315 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.211, allocations: 448.7 kB / 0.6319 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.2141, allocations: 2.824 MB / 0.6346 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.215, allocations: 271.6 kB / 0.6349 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.215, allocations: 11.98 kB / 0.6349 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2151, allocations: 38.72 kB / 0.635 GB, free: 10.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 2.955e-06/0.2151, allocations: 0 / 0.635 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.001857/0.2169, allocations: 0.5008 MB / 0.6354 GB, free: 10.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.217, allocations: 154.2 kB / 0.6356 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.2176, allocations: 0.586 MB / 0.6362 GB, free: 9.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2177, allocations: 33.7 kB / 0.6362 GB, free: 9.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.2179, allocations: 335.8 kB / 0.6365 GB, free: 9.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.218, allocations: 51.28 kB / 0.6366 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.218, allocations: 8 kB / 0.6366 GB, free: 9.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2182, allocations: 370.8 kB / 0.6369 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.2185, allocations: 140.7 kB / 0.6371 GB, free: 8.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.219, allocations: 286.1 kB / 0.6373 GB, free: 8.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.2195, allocations: 179.9 kB / 0.6375 GB, free: 8.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2195, allocations: 0 / 0.6375 GB, free: 8.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009499/0.2204, allocations: 0.4902 MB / 0.638 GB, free: 7.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004882/0.2209, allocations: 1.214 MB / 0.6392 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2209, allocations: 8 kB / 0.6392 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.221, allocations: 8 kB / 0.6392 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/0.225, allocations: 0.7492 MB / 0.6399 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.2322, allocations: 4.913 MB / 0.6447 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.233, allocations: 103.4 kB / 0.6448 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.233, allocations: 19.98 kB / 0.6448 GB, free: 216 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2331, allocations: 4 kB / 0.6448 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006259/0.2337, allocations: 307.8 kB / 0.6451 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2337, allocations: 7.938 kB / 0.6451 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.2337, allocations: 8 kB / 0.6451 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.2341, allocations: 96.23 kB / 0.6452 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2341, allocations: 7.984 kB / 0.6452 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.2345, allocations: 83.48 kB / 0.6453 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2345, allocations: 16 kB / 0.6453 GB, free: 15.69 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.0003626/0.2349, allocations: 260.9 kB / 0.6456 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.235, allocations: 55.25 kB / 0.6456 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.2351, allocations: 48.92 kB / 0.6457 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2351, allocations: 4 kB / 0.6457 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2351, allocations: 0 / 0.6457 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2351, allocations: 0 / 0.6457 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008345/0.236, allocations: 0.7021 MB / 0.6464 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.236, allocations: 0 / 0.6464 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/0.2393, allocations: 0.6556 MB / 0.647 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2393, allocations: 0 / 0.647 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.2394, allocations: 4 kB / 0.647 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006229/0.2456, allocations: 4.804 MB / 0.6517 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.2456, allocations: 4.031 kB / 0.6517 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/0.2465, allocations: 430.6 kB / 0.6521 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.2467, allocations: 136.3 kB / 0.6523 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.2468, allocations: 4 kB / 0.6523 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.2473, allocations: 75.92 kB / 0.6523 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.2474, allocations: 19.92 kB / 0.6523 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2474, allocations: 7.984 kB / 0.6524 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004613/0.2479, allocations: 403.1 kB / 0.6527 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2479, allocations: 0 / 0.6527 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001021/0.2489, allocations: 307.2 kB / 0.653 GB, free: 7.285 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.0004198/0.2493, allocations: 171.5 kB / 0.6532 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005041/0.2544, allocations: 1.172 MB / 0.6543 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2544, allocations: 0 / 0.6543 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006652/0.2611, allocations: 1.244 MB / 0.6556 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.2629, allocations: 314.7 kB / 0.6559 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.2663, allocations: 1.529 MB / 0.6573 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.2667, allocations: 0.8938 MB / 0.6582 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.2672, allocations: 104.8 kB / 0.6583 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.2673, allocations: 39.42 kB / 0.6584 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.2673, allocations: 0 / 0.6584 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.01697/0.2843, allocations: 10.12 MB / 0.6682 GB, free: 7.816 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: