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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.736/1.736, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.0006612, allocations: 16 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6107, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002296/0.613, allocations: 1.448 MB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.6143, allocations: 0.7887 MB / 0.7302 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.6144, allocations: 0 / 0.7302 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.6149, allocations: 150.1 kB / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.6153, allocations: 145.1 kB / 0.7305 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.6157, allocations: 149.4 kB / 0.7306 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.6159, allocations: 151.7 kB / 0.7307 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.616, allocations: 41.84 kB / 0.7308 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.6162, allocations: 71.73 kB / 0.7308 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.6164, allocations: 135.5 kB / 0.731 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.6164, allocations: 4 kB / 0.731 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.6165, allocations: 23.94 kB / 0.731 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.6166, allocations: 79.78 kB / 0.7311 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.6167, allocations: 61.52 kB / 0.7311 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.617, allocations: 289.3 kB / 0.7314 GB, free: 7.945 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.617, allocations: 0 / 0.7314 GB, free: 7.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.724e-06/0.617, allocations: 3.938 kB / 0.7314 GB, free: 7.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.617, allocations: 0 / 0.7314 GB, free: 7.941 MB / 0.545 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.0008022/0.6178, allocations: 0.5563 MB / 0.732 GB, free: 7.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6178, allocations: 8.031 kB / 0.732 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.6179, allocations: 39.56 kB / 0.732 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.6185, allocations: 405.2 kB / 0.7324 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.6185, allocations: 4 kB / 0.7324 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.6185, allocations: 4 kB / 0.7324 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.6187, allocations: 73.67 kB / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.6187, allocations: 0 / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.6187, allocations: 0 / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6187, allocations: 0 / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.6189, allocations: 59.92 kB / 0.7325 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.6195, allocations: 484.4 kB / 0.733 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.6197, allocations: 58.45 kB / 0.733 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.6197, allocations: 4.078 kB / 0.733 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6197, allocations: 34.67 kB / 0.7331 GB, free: 6.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6197, allocations: 3.938 kB / 0.7331 GB, free: 6.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000315/0.62, allocations: 101.4 kB / 0.7332 GB, free: 5.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6201, allocations: 51.41 kB / 0.7332 GB, free: 5.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.6208, allocations: 0.564 MB / 0.7338 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.6208, allocations: 25.7 kB / 0.7338 GB, free: 5.297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.6209, allocations: 172 kB / 0.734 GB, free: 5.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.621, allocations: 7.906 kB / 0.734 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.621, allocations: 0 / 0.734 GB, free: 5.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6211, allocations: 346.8 kB / 0.7343 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.6212, allocations: 12 kB / 0.7343 GB, free: 4.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.6212, allocations: 15.98 kB / 0.7343 GB, free: 4.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.6213, allocations: 19.98 kB / 0.7344 GB, free: 4.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6213, allocations: 0 / 0.7344 GB, free: 4.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001708/0.6215, allocations: 97.25 kB / 0.7344 GB, free: 4.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6215, allocations: 4 kB / 0.7345 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.6215, allocations: 0 / 0.7345 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6215, allocations: 0 / 0.7345 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.6216, allocations: 12 kB / 0.7345 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6216, allocations: 0 / 0.7345 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.6217, allocations: 11.92 kB / 0.7345 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.6217, allocations: 0 / 0.7345 GB, free: 4.594 MB / 0.545 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.00017/0.6219, allocations: 184.6 kB / 0.7346 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.6219, allocations: 31.58 kB / 0.7347 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.6222, allocations: 112.2 kB / 0.7348 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6222, allocations: 0 / 0.7348 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6222, allocations: 3.938 kB / 0.7348 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6222, allocations: 0 / 0.7348 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.6225, allocations: 285.4 kB / 0.7351 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6225, allocations: 0 / 0.7351 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.6226, allocations: 11.98 kB / 0.7351 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6226, allocations: 0 / 0.7351 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6226, allocations: 7.953 kB / 0.7351 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6226, allocations: 4 kB / 0.7351 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6226, allocations: 7.938 kB / 0.7351 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.6228, allocations: 183.5 kB / 0.7353 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6229, allocations: 116.7 kB / 0.7354 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.623, allocations: 7.938 kB / 0.7354 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.6231, allocations: 7.938 kB / 0.7354 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.6231, allocations: 16.03 kB / 0.7354 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.6232, allocations: 0 / 0.7354 GB, free: 3.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004466/0.6236, allocations: 419.1 kB / 0.7358 GB, free: 3.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6236, allocations: 0 / 0.7358 GB, free: 3.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002562/0.6239, allocations: 27.91 kB / 0.7358 GB, free: 3.094 MB / 0.545 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.0008098/0.6247, allocations: 351.8 kB / 0.7362 GB, free: 2.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.6249, allocations: 39.91 kB / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6249, allocations: 0 / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.6249, allocations: 16 kB / 0.7362 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.6253, allocations: 45.53 kB / 0.7363 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.6261, allocations: 0.5547 MB / 0.7368 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.6264, allocations: 0.795 MB / 0.7376 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.6266, allocations: 42.92 kB / 0.7376 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.6266, allocations: 23.44 kB / 0.7376 GB, free: 1.305 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6266, allocations: 4 kB / 0.7377 GB, free: 1.301 MB / 0.545 GB Notification: Performance of Templates: time 0.005524/0.6321, allocations: 2.294 MB / 0.7399 GB, free: 15.05 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: