Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.525/2.525, allocations: 251.1 MB / 266.1 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001566, allocations: 178.3 kB / 325.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.469/2.469, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 88.23 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002492/0.2275, allocations: 1.449 MB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2291, allocations: 0.7888 MB / 0.9011 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2292, allocations: 3.938 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.2299, allocations: 147.1 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.2304, allocations: 143.5 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.231, allocations: 146.3 kB / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.2312, allocations: 139.8 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.2314, allocations: 53.77 kB / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.2316, allocations: 71.73 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2318, allocations: 127.6 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.2318, allocations: 4 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.232, allocations: 31.88 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.2321, allocations: 67.78 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.2322, allocations: 73.52 kB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2325, allocations: 283.6 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2325, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2325, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.2326, allocations: 0 / 0.9023 GB, free: 61.98 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.0009095/0.2335, allocations: 0.5563 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2335, allocations: 12.03 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.2336, allocations: 31.58 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.2343, allocations: 405.2 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2343, allocations: 8 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.2344, allocations: 4 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2346, allocations: 77.61 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2346, allocations: 0 / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2346, allocations: 0 / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2347, allocations: 3.953 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.2349, allocations: 55.97 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007317/0.2356, allocations: 496.3 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2358, allocations: 50.5 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.2359, allocations: 4.203 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2359, allocations: 38.48 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.2359, allocations: 0 / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003937/0.2363, allocations: 101.5 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2364, allocations: 51.41 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.2372, allocations: 0.5639 MB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2372, allocations: 25.7 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.2374, allocations: 175.9 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2375, allocations: 3.906 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.2375, allocations: 4 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2376, allocations: 350.7 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.2377, allocations: 8 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.2378, allocations: 15.98 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.545e-05/0.2379, allocations: 23.98 kB / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2379, allocations: 0 / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002503/0.2381, allocations: 97.25 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2382, allocations: 4 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2382, allocations: 0 / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2382, allocations: 0 / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2383, allocations: 8 kB / 0.9054 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2384, allocations: 4 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2385, allocations: 7.984 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2385, allocations: 0 / 0.9054 GB, free: 58.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.2387, allocations: 181.8 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.2388, allocations: 35.58 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2391, allocations: 108.2 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2391, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2391, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2391, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.2395, allocations: 277.5 kB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2395, allocations: 0 / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.2396, allocations: 11.98 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2396, allocations: 3.953 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2396, allocations: 0 / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2397, allocations: 4 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2397, allocations: 0 / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.2399, allocations: 195.5 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2401, allocations: 128.6 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.2402, allocations: 7.953 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2403, allocations: 3.984 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.2404, allocations: 4 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.2404, allocations: 8 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006155/0.241, allocations: 419.1 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.241, allocations: 0 / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003912/0.2414, allocations: 31.91 kB / 0.9067 GB, free: 57.12 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 (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.001059/0.2425, allocations: 345.9 kB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.2427, allocations: 39.92 kB / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2428, allocations: 0 / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.2429, allocations: 19.92 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2433, allocations: 41.53 kB / 0.9072 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2444, allocations: 0.5539 MB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2448, allocations: 0.795 MB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.245, allocations: 42.92 kB / 0.9085 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.2451, allocations: 23.44 kB / 0.9086 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.2451, allocations: 0 / 0.9086 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.008552/0.2536, allocations: 2.296 MB / 0.9108 GB, free: 53.08 MB / 0.6042 GB