Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [/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.2218/0.2231, allocations: 82.21 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002566/0.2257, allocations: 1.449 MB / 0.5949 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2272, allocations: 0.8127 MB / 0.5957 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.2274, allocations: 0 / 0.5957 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.228, allocations: 156.9 kB / 0.5958 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.2284, allocations: 139.6 kB / 0.596 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2289, allocations: 149.7 kB / 0.5961 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.2292, allocations: 199.5 kB / 0.5963 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2294, allocations: 53.77 kB / 0.5963 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.2296, allocations: 75.67 kB / 0.5964 GB, free: 2.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.2299, allocations: 135.5 kB / 0.5966 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.2299, allocations: 4 kB / 0.5966 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2301, allocations: 31.98 kB / 0.5966 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2302, allocations: 67.75 kB / 0.5967 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.2302, allocations: 69.58 kB / 0.5967 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2306, allocations: 287.3 kB / 0.597 GB, free: 2.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2306, allocations: 3.938 kB / 0.597 GB, free: 2.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2306, allocations: 0 / 0.597 GB, free: 2.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2306, allocations: 0 / 0.597 GB, free: 2.348 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008988/0.2315, allocations: 0.5563 MB / 0.5975 GB, free: 1.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2316, allocations: 8.031 kB / 0.5975 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/0.2317, allocations: 31.62 kB / 0.5976 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.2323, allocations: 401.2 kB / 0.598 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2323, allocations: 12 kB / 0.598 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2323, allocations: 7.938 kB / 0.598 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.2325, allocations: 77.66 kB / 0.5981 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2325, allocations: 0 / 0.5981 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2325, allocations: 0 / 0.5981 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2325, allocations: 0 / 0.5981 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2327, allocations: 51.97 kB / 0.5981 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.2333, allocations: 488.4 kB / 0.5986 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.2335, allocations: 46.56 kB / 0.5986 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.2335, allocations: 24.91 kB / 0.5986 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.2336, allocations: 7.969 kB / 0.5986 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2336, allocations: 38.5 kB / 0.5987 GB, free: 464 kB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2336, allocations: 0 / 0.5987 GB, free: 464 kB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003008/0.2339, allocations: 105.2 kB / 0.5988 GB, free: 352 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.234, allocations: 59.41 kB / 0.5988 GB, free: 280 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.2347, allocations: 0.5484 MB / 0.5994 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2347, allocations: 25.7 kB / 0.5994 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2348, allocations: 179.9 kB / 0.5996 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.2349, allocations: 7.953 kB / 0.5996 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.2349, allocations: 7.875 kB / 0.5996 GB, free: 15.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.235, allocations: 346.8 kB / 0.5999 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.2351, allocations: 11.98 kB / 0.5999 GB, free: 15.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.2351, allocations: 20 kB / 0.5999 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.2352, allocations: 19.92 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2352, allocations: 0 / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001735/0.2354, allocations: 93.3 kB / 0.6001 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2354, allocations: 4 kB / 0.6001 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2354, allocations: 4 kB / 0.6001 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2354, allocations: 4 kB / 0.6001 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.2355, allocations: 11.98 kB / 0.6001 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2355, allocations: 7.938 kB / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.2356, allocations: 4 kB / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2356, allocations: 0 / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001694/0.2358, allocations: 178.7 kB / 0.6003 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.2358, allocations: 27.62 kB / 0.6003 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2361, allocations: 112.1 kB / 0.6004 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2361, allocations: 0 / 0.6004 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2361, allocations: 0 / 0.6004 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2361, allocations: 3.953 kB / 0.6004 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.2364, allocations: 285.5 kB / 0.6007 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2364, allocations: 3.984 kB / 0.6007 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.2365, allocations: 4 kB / 0.6007 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2365, allocations: 4 kB / 0.6007 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2365, allocations: 0 / 0.6007 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2365, allocations: 4 kB / 0.6007 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2365, allocations: 0 / 0.6007 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.2367, allocations: 195 kB / 0.6009 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2368, allocations: 124.7 kB / 0.601 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.2369, allocations: 0 / 0.601 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.237, allocations: 4 kB / 0.601 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.237, allocations: 4.422 kB / 0.601 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.237, allocations: 0 / 0.601 GB, free: 13.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004486/0.2375, allocations: 419.1 kB / 0.6014 GB, free: 13.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2375, allocations: 0 / 0.6014 GB, free: 13.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.2378, allocations: 31.92 kB / 0.6014 GB, free: 13.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0008022/0.2386, allocations: 363.6 kB / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.2387, allocations: 31.97 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2388, allocations: 3.938 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.2388, allocations: 23.92 kB / 0.6018 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.2392, allocations: 46.62 kB / 0.6019 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/0.2401, allocations: 0.5547 MB / 0.6024 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2405, allocations: 0.7794 MB / 0.6032 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.2406, allocations: 42.92 kB / 0.6032 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2407, allocations: 27.44 kB / 0.6032 GB, free: 11.72 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2407, allocations: 0 / 0.6032 GB, free: 11.72 MB / 462.1 MB Notification: Performance of Templates: time 0.005861/0.2465, allocations: 2.287 MB / 0.6055 GB, free: 9.48 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) Environment - environmentSimulation: