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.002268/0.002268, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.00308/0.00308, allocations: 212.9 kB / 23.02 MB, free: 2.953 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 1.694/1.694, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 178] 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 3.429/3.429, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003726/0.003726, allocations: 71.89 kB / 1.177 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8024, allocations: 180 MB / 1.353 GB, free: 1.578 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.00362/0.806, allocations: 1.791 MB / 1.355 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.8081, allocations: 1.091 MB / 1.356 GB, free: 14.68 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.8082, allocations: 0 / 1.356 GB, free: 14.68 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.8088, allocations: 192.7 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.8093, allocations: 215.7 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.8098, allocations: 221 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.8101, allocations: 271.3 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.8103, allocations: 35.39 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.8105, allocations: 111.6 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.8108, allocations: 163.5 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.8108, allocations: 24 kB / 1.357 GB, free: 13.48 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.8109, allocations: 59.97 kB / 1.357 GB, free: 13.42 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.8111, allocations: 91.62 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.8112, allocations: 87.39 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.8117, allocations: 374.5 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8117, allocations: 11.94 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8117, allocations: 0 / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8117, allocations: 0 / 1.357 GB, free: 12.87 MB / 1.042 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.0009338/0.8126, allocations: 0.5547 MB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.8127, allocations: 8.031 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.8129, allocations: 44.7 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.8137, allocations: 380.6 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.8137, allocations: 384 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.8137, allocations: 12.12 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.8139, allocations: 73.61 kB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8139, allocations: 3.938 kB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8139, allocations: 4 kB / 1.359 GB, free: 11.74 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.8139, allocations: 4 kB / 1.359 GB, free: 11.74 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.8141, allocations: 43.97 kB / 1.359 GB, free: 11.7 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.8147, allocations: 408.2 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.8149, allocations: 42.56 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.8149, allocations: 20.91 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.815, allocations: 3.984 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.815, allocations: 34.56 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.815, allocations: 0 / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.000332/0.8153, allocations: 101.4 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.8154, allocations: 59.34 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.8162, allocations: 0.5874 MB / 1.36 GB, free: 10.37 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.8162, allocations: 25.7 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.8164, allocations: 176 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.8164, allocations: 7.891 kB / 1.36 GB, free: 10.15 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.8165, allocations: 17.72 kB / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.8167, allocations: 346.8 kB / 1.36 GB, free: 9.781 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.8168, allocations: 8 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.8168, allocations: 19.92 kB / 1.36 GB, free: 9.754 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.8169, allocations: 32.84 kB / 1.36 GB, free: 9.719 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8169, allocations: 4.109 kB / 1.36 GB, free: 9.715 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002157/0.8172, allocations: 105.3 kB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8172, allocations: 4 kB / 1.361 GB, free: 9.602 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8172, allocations: 0 / 1.361 GB, free: 9.602 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.8172, allocations: 4 kB / 1.361 GB, free: 9.598 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.8173, allocations: 11.98 kB / 1.361 GB, free: 9.586 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8173, allocations: 3.938 kB / 1.361 GB, free: 9.582 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.8174, allocations: 0 / 1.361 GB, free: 9.582 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.8174, allocations: 0 / 1.361 GB, free: 9.582 MB / 1.042 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.0001954/0.8176, allocations: 185.8 kB / 1.361 GB, free: 9.391 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.8176, allocations: 35.81 kB / 1.361 GB, free: 9.355 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.8179, allocations: 104.3 kB / 1.361 GB, free: 9.238 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8179, allocations: 0 / 1.361 GB, free: 9.238 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.8179, allocations: 3.938 kB / 1.361 GB, free: 9.234 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8179, allocations: 0 / 1.361 GB, free: 9.234 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.8182, allocations: 213.2 kB / 1.361 GB, free: 8.996 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8182, allocations: 0 / 1.361 GB, free: 8.996 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.8182, allocations: 4 kB / 1.361 GB, free: 8.992 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8182, allocations: 0 / 1.361 GB, free: 8.992 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.8182, allocations: 8 kB / 1.361 GB, free: 8.984 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.8182, allocations: 7.984 kB / 1.361 GB, free: 8.977 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8182, allocations: 0 / 1.361 GB, free: 8.977 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.8185, allocations: 187.3 kB / 1.361 GB, free: 8.777 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.8186, allocations: 40.12 kB / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.8186, allocations: 4 kB / 1.361 GB, free: 8.734 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.8187, allocations: 7.984 kB / 1.361 GB, free: 8.727 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.8187, allocations: 3.938 kB / 1.361 GB, free: 8.723 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.8187, allocations: 4 kB / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005474/0.8193, allocations: 431.1 kB / 1.362 GB, free: 8.305 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.8193, allocations: 4 kB / 1.362 GB, free: 8.301 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002644/0.8195, allocations: 31.94 kB / 1.362 GB, free: 8.27 MB / 1.042 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.002392/0.8219, allocations: 380.8 kB / 1.362 GB, free: 8.047 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.8221, allocations: 39.97 kB / 1.362 GB, free: 8.008 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8221, allocations: 0 / 1.362 GB, free: 8.008 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.8222, allocations: 19.92 kB / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.8226, allocations: 48.05 kB / 1.362 GB, free: 7.941 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.8235, allocations: 0.526 MB / 1.363 GB, free: 7.387 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.8238, allocations: 186.1 kB / 1.363 GB, free: 7.188 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.8239, allocations: 47.27 kB / 1.363 GB, free: 7.141 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.824, allocations: 23.42 kB / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of SimCode: time 7.52e-07/0.824, allocations: 0 / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of Templates: time 0.007573/0.8315, allocations: 2.888 MB / 1.366 GB, free: 4.258 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.071718348190188]