Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 251.1 MB / 266.7 MB, free: 11.61 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.001342/0.001342, allocations: 172.2 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.321/2.321, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009218/0.0009217, allocations: 90.11 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006324/0.0006327, allocations: 12.66 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2395, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003132/0.2427, allocations: 1.458 MB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2444, allocations: 0.8045 MB / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2445, allocations: 3.938 kB / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.2452, allocations: 159.4 kB / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.2456, allocations: 135.5 kB / 0.902 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.2462, allocations: 155.1 kB / 0.9022 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.2466, allocations: 195.5 kB / 0.9023 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.2467, allocations: 45.84 kB / 0.9024 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2469, allocations: 87.61 kB / 0.9025 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.2471, allocations: 127.6 kB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.2472, allocations: 4 kB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.2474, allocations: 35.92 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.2475, allocations: 71.75 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.2475, allocations: 65.52 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.2479, allocations: 287.5 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2479, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2479, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2479, allocations: 0 / 0.903 GB, free: 61.88 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.0008973/0.2488, allocations: 0.5643 MB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.2489, allocations: 8.031 kB / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.249, allocations: 32.56 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/0.2497, allocations: 406.5 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2497, allocations: 4.375 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.2498, allocations: 7.938 kB / 0.904 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.25, allocations: 73.61 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.25, allocations: 4 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.25, allocations: 7.984 kB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2501, allocations: 0 / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.2503, allocations: 55.97 kB / 0.9042 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.251, allocations: 488.3 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.2512, allocations: 54.61 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2513, allocations: 20.8 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.2513, allocations: 0 / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2514, allocations: 42.55 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2514, allocations: 0 / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003847/0.2518, allocations: 101.3 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2518, allocations: 55.41 kB / 0.9049 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.2526, allocations: 0.5523 MB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2527, allocations: 25.81 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.2528, allocations: 179.9 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2529, allocations: 3.906 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.2529, allocations: 8 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.253, allocations: 346.8 kB / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.2531, allocations: 11.94 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.2531, allocations: 15.98 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.2532, allocations: 19.98 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2533, allocations: 0 / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002449/0.2535, allocations: 97.3 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2535, allocations: 4 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2536, allocations: 0 / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2536, allocations: 3.938 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2537, allocations: 8.328 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2537, allocations: 0 / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2538, allocations: 7.938 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2539, allocations: 3.984 kB / 0.9061 GB, free: 58.49 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.0001821/0.2541, allocations: 185.8 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.2541, allocations: 31.56 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.2544, allocations: 104.2 kB / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2545, allocations: 7.922 kB / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2545, allocations: 0 / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.2546, allocations: 120.7 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.2547, allocations: 4 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2548, allocations: 4 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.2549, allocations: 3.984 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002422/0.2551, allocations: 144.9 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002925/0.2554, allocations: 270.4 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.666e-05/0.2555, allocations: 19.98 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005911/0.2561, allocations: 419.1 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of Backend: time 1.223e-06/0.2561, allocations: 0 / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.2578, allocations: 437.5 kB / 0.9078 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001275/0.2591, allocations: 1.015 MB / 0.9088 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.008568/0.2677, allocations: 2.489 MB / 0.9112 GB, free: 53.35 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)