Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 176.8 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000795/0.0007949, allocations: 91 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003318, allocations: 13.89 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001943/0.2137, allocations: 1.505 MB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2148, allocations: 0.87 MB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.2149, allocations: 0 / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.2154, allocations: 166.4 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.2157, allocations: 147.5 kB / 0.8994 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.216, allocations: 176.7 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.2163, allocations: 215.5 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.2164, allocations: 49.66 kB / 0.8998 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.2166, allocations: 79.67 kB / 0.8999 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2168, allocations: 135.5 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.2168, allocations: 8 kB / 0.9 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.2169, allocations: 31.98 kB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.217, allocations: 75.75 kB / 0.9001 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.217, allocations: 99.22 kB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2173, allocations: 279.4 kB / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2173, allocations: 0 / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2173, allocations: 0 / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2173, allocations: 3.938 kB / 0.9005 GB, free: 64.37 MB / 0.6042 GB 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.0006004/0.2179, allocations: 0.561 MB / 0.901 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2179, allocations: 12.03 kB / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.218, allocations: 28.56 kB / 0.9011 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.2184, allocations: 418.2 kB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2185, allocations: 4.375 kB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2185, allocations: 12.12 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.2186, allocations: 81.55 kB / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2187, allocations: 0 / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.2187, allocations: 0 / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2187, allocations: 0 / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2188, allocations: 55.97 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.2193, allocations: 488.4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2194, allocations: 46.56 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.2194, allocations: 28.91 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2195, allocations: 0 / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.2195, allocations: 30.56 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2195, allocations: 3.938 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002713/0.2198, allocations: 117.2 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2198, allocations: 55.41 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.2203, allocations: 0.5485 MB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.2203, allocations: 25.7 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.2204, allocations: 175.9 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2204, allocations: 11.81 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.2204, allocations: 9.719 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.2205, allocations: 342.8 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.2205, allocations: 23.98 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.2206, allocations: 12 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.2207, allocations: 44.77 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2207, allocations: 0 / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.2208, allocations: 89.31 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2209, allocations: 8 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2209, allocations: 112 / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2209, allocations: 7.875 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.221, allocations: 11.98 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.221, allocations: 0 / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.221, allocations: 4 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.221, allocations: 4 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2212, allocations: 181.8 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.2212, allocations: 31.62 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.2214, allocations: 104.1 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2214, allocations: 3.938 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2214, allocations: 0 / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2214, allocations: 0 / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.2216, allocations: 289.5 kB / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2216, allocations: 0 / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.2217, allocations: 8.375 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2217, allocations: 4 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2217, allocations: 3.984 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2217, allocations: 3.938 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2217, allocations: 0 / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.2219, allocations: 195.1 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.222, allocations: 112.7 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.222, allocations: 7.984 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.2221, allocations: 7.938 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.2221, allocations: 0 / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2221, allocations: 0 / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003262/0.2225, allocations: 423.1 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2225, allocations: 0 / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002576/0.2227, allocations: 31.88 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007424/0.2235, allocations: 360 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.2236, allocations: 27.98 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2236, allocations: 0 / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.2237, allocations: 27.92 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.2241, allocations: 44.78 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.2248, allocations: 0.6151 MB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.225, allocations: 0.7794 MB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.2251, allocations: 27.42 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2251, allocations: 0 / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.005539/0.2306, allocations: 3.503 MB / 0.9102 GB, free: 54.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)