Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002134, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.002134, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9257/0.9257, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.027, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.834/1.834, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4933/2.327, allocations: 127.1 MB / 0.7432 GB, free: 4.629 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.7445 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.332e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003348/0.003371, allocations: 1.882 MB / 0.7463 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.005149, allocations: 1.132 MB / 0.7474 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.005258, allocations: 3.938 kB / 0.7474 GB, free: 352 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.005611, allocations: 142.4 kB / 0.7476 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.006059, allocations: 198.4 kB / 0.7477 GB, free: 24 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.006564, allocations: 218.1 kB / 0.748 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.00692, allocations: 267.8 kB / 0.7482 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.007068, allocations: 48.86 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.007986, allocations: 268.2 kB / 0.7485 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.008211, allocations: 151.7 kB / 0.7487 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.008252, allocations: 20 kB / 0.7487 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.00841, allocations: 51.94 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.0085, allocations: 79.12 kB / 0.7488 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.008564, allocations: 47.81 kB / 0.7488 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.008936, allocations: 215.1 kB / 0.7491 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.965e-05/0.008955, allocations: 4 kB / 0.7491 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008957, allocations: 0 / 0.7491 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.008973, allocations: 0 / 0.7491 GB, free: 14.73 MB / 0.7292 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.0007467/0.00972, allocations: 0.553 MB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.009759, allocations: 16.02 kB / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.009959, allocations: 110 kB / 0.7497 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.01039, allocations: 292.6 kB / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.0104, allocations: 8.375 kB / 0.75 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.01041, allocations: 1.031 kB / 0.75 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.01053, allocations: 71.52 kB / 0.7501 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.01054, allocations: 3.938 kB / 0.7501 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.01055, allocations: 4.531 kB / 0.7501 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01055, allocations: 1.5 kB / 0.7501 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.01059, allocations: 8 kB / 0.7501 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.01096, allocations: 238.9 kB / 0.7503 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.01104, allocations: 34.3 kB / 0.7503 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.01106, allocations: 12.86 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.01109, allocations: 0 / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.01111, allocations: 31.12 kB / 0.7504 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.01111, allocations: 0.625 kB / 0.7504 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001517/0.01126, allocations: 57.67 kB / 0.7504 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.0113, allocations: 52 kB / 0.7505 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.01167, allocations: 373.9 kB / 0.7509 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.01168, allocations: 33.58 kB / 0.7509 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.01175, allocations: 138 kB / 0.751 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.01177, allocations: 7.906 kB / 0.751 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.01181, allocations: 21.7 kB / 0.751 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.01192, allocations: 347.4 kB / 0.7514 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.01194, allocations: 0 / 0.7514 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.01195, allocations: 8.516 kB / 0.7514 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.01198, allocations: 15.67 kB / 0.7514 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01198, allocations: 0.8125 kB / 0.7514 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.015e-05/0.01206, allocations: 54 kB / 0.7515 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01208, allocations: 8.531 kB / 0.7515 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01209, allocations: 3.984 kB / 0.7515 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.0121, allocations: 3.984 kB / 0.7515 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.01217, allocations: 11.94 kB / 0.7515 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01218, allocations: 4.484 kB / 0.7515 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.01222, allocations: 0 / 0.7515 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.01223, allocations: 4.531 kB / 0.7515 GB, free: 12.07 MB / 0.7292 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 8.558e-05/0.01231, allocations: 121.8 kB / 0.7516 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.01235, allocations: 15.98 kB / 0.7516 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.01247, allocations: 72.42 kB / 0.7517 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01248, allocations: 2.781 kB / 0.7517 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01248, allocations: 0 / 0.7517 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01248, allocations: 0 / 0.7517 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.01267, allocations: 137.7 kB / 0.7518 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01267, allocations: 4 kB / 0.7518 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.01272, allocations: 15.92 kB / 0.7518 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.01276, allocations: 31.77 kB / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01276, allocations: 3.812 kB / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.01277, allocations: 0 / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01277, allocations: 4 kB / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01277, allocations: 0 / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.01288, allocations: 155.4 kB / 0.752 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01291, allocations: 0 / 0.752 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.01298, allocations: 4 kB / 0.752 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.013, allocations: 0 / 0.752 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01301, allocations: 4 kB / 0.752 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001918/0.0132, allocations: 171.5 kB / 0.7522 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.0132, allocations: 0 / 0.7522 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002206/0.01342, allocations: 21.59 kB / 0.7522 GB, free: 11.28 MB / 0.7292 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.001523/0.01494, allocations: 479.1 kB / 0.7527 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.01502, allocations: 20.78 kB / 0.7527 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.01503, allocations: 5.406 kB / 0.7527 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.01505, allocations: 8.859 kB / 0.7527 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.0154, allocations: 64.92 kB / 0.7528 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.01661, allocations: 458.9 kB / 0.7532 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.112e-05/0.01667, allocations: 104.9 kB / 0.7533 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.597e-05/0.01673, allocations: 36.42 kB / 0.7533 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.01682, allocations: 84.92 kB / 0.7534 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.01682, allocations: 4 kB / 0.7534 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.005339/0.02216, allocations: 2.846 MB / 0.7562 GB, free: 7.543 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.839514395222068]