Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0009068/0.0009068, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0009547/0.0009547, allocations: 212.1 kB / 22.25 MB, free: 3.586 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.9569/0.9569, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.4/2.4, allocations: 0.5556 GB / 0.8607 GB, free: 30.85 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.55 kB / 1.253 GB, free: 22.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3262, allocations: 193.3 MB / 1.442 GB, free: 10.88 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002491/0.3287, allocations: 1.798 MB / 1.443 GB, free: 9.066 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3299, allocations: 1.088 MB / 1.445 GB, free: 7.973 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.33, allocations: 7.938 kB / 1.445 GB, free: 7.965 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.3305, allocations: 188 kB / 1.445 GB, free: 7.785 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.3309, allocations: 219.5 kB / 1.445 GB, free: 7.57 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.3312, allocations: 222.4 kB / 1.445 GB, free: 7.355 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.3316, allocations: 263.4 kB / 1.445 GB, free: 7.098 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3318, allocations: 32.86 kB / 1.445 GB, free: 7.066 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.332, allocations: 111.6 kB / 1.446 GB, free: 6.957 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3321, allocations: 183.3 kB / 1.446 GB, free: 6.777 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.3322, allocations: 20 kB / 1.446 GB, free: 6.758 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3323, allocations: 55.97 kB / 1.446 GB, free: 6.703 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.3324, allocations: 83.75 kB / 1.446 GB, free: 6.621 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.3324, allocations: 91.28 kB / 1.446 GB, free: 6.531 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.3328, allocations: 394.4 kB / 1.446 GB, free: 6.145 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3328, allocations: 0 / 1.446 GB, free: 6.145 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3328, allocations: 0 / 1.446 GB, free: 6.145 MB / 1.12 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3328, allocations: 4 kB / 1.446 GB, free: 6.141 MB / 1.12 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.0005911/0.3334, allocations: 0.5508 MB / 1.447 GB, free: 5.559 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3334, allocations: 15.97 kB / 1.447 GB, free: 5.543 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.3335, allocations: 38.75 kB / 1.447 GB, free: 5.496 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3336, allocations: 44.69 kB / 1.447 GB, free: 5.453 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.334, allocations: 372.6 kB / 1.447 GB, free: 5.062 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.334, allocations: 8.375 kB / 1.447 GB, free: 5.055 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3341, allocations: 7.938 kB / 1.447 GB, free: 5.047 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3342, allocations: 81.64 kB / 1.447 GB, free: 4.961 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3342, allocations: 0 / 1.447 GB, free: 4.961 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3342, allocations: 4 kB / 1.447 GB, free: 4.957 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3342, allocations: 0 / 1.447 GB, free: 4.957 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.3343, allocations: 51.91 kB / 1.447 GB, free: 4.906 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.3347, allocations: 431.7 kB / 1.448 GB, free: 4.441 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3348, allocations: 46.5 kB / 1.448 GB, free: 4.387 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.3348, allocations: 16.92 kB / 1.448 GB, free: 4.367 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3349, allocations: 3.984 kB / 1.448 GB, free: 4.363 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3349, allocations: 34.56 kB / 1.448 GB, free: 4.32 MB / 1.12 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3349, allocations: 0 / 1.448 GB, free: 4.32 MB / 1.12 GB Notification: Performance of matching and sorting (n=3): time 0.0002134/0.3351, allocations: 109.4 kB / 1.448 GB, free: 4.207 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3351, allocations: 55.41 kB / 1.448 GB, free: 4.141 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.3356, allocations: 0.5719 MB / 1.449 GB, free: 3.559 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3356, allocations: 25.7 kB / 1.449 GB, free: 3.527 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3357, allocations: 188 kB / 1.449 GB, free: 3.34 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3358, allocations: 7.891 kB / 1.449 GB, free: 3.332 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3358, allocations: 17.72 kB / 1.449 GB, free: 3.309 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.3359, allocations: 346.8 kB / 1.449 GB, free: 2.961 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.3359, allocations: 8 kB / 1.449 GB, free: 2.953 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.3359, allocations: 11.98 kB / 1.449 GB, free: 2.941 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.622e-05/0.336, allocations: 36.84 kB / 1.449 GB, free: 2.902 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.336, allocations: 0 / 1.449 GB, free: 2.902 MB / 1.12 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000105/0.3361, allocations: 97.42 kB / 1.449 GB, free: 2.801 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3361, allocations: 4 kB / 1.449 GB, free: 2.797 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3361, allocations: 0 / 1.449 GB, free: 2.797 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3361, allocations: 7.875 kB / 1.449 GB, free: 2.789 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.3362, allocations: 11.98 kB / 1.449 GB, free: 2.777 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3362, allocations: 0 / 1.449 GB, free: 2.777 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.3362, allocations: 3.953 kB / 1.449 GB, free: 2.773 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3362, allocations: 4 kB / 1.449 GB, free: 2.77 MB / 1.12 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.0001138/0.3364, allocations: 189.8 kB / 1.45 GB, free: 2.574 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3364, allocations: 31.81 kB / 1.45 GB, free: 2.543 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3365, allocations: 104.6 kB / 1.45 GB, free: 2.43 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3366, allocations: 4.031 kB / 1.45 GB, free: 2.426 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3366, allocations: 0 / 1.45 GB, free: 2.426 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3366, allocations: 0 / 1.45 GB, free: 2.426 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3368, allocations: 248.5 kB / 1.45 GB, free: 2.141 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3368, allocations: 4 kB / 1.45 GB, free: 2.137 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.3368, allocations: 7.984 kB / 1.45 GB, free: 2.129 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3368, allocations: 4 kB / 1.45 GB, free: 2.125 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3368, allocations: 3.938 kB / 1.45 GB, free: 2.121 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3368, allocations: 0 / 1.45 GB, free: 2.121 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3368, allocations: 4 kB / 1.45 GB, free: 2.117 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3369, allocations: 179.3 kB / 1.45 GB, free: 1.926 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.337, allocations: 43.8 kB / 1.45 GB, free: 1.883 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.337, allocations: 3.938 kB / 1.45 GB, free: 1.879 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.337, allocations: 8 kB / 1.45 GB, free: 1.871 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.3371, allocations: 3.938 kB / 1.45 GB, free: 1.867 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.3371, allocations: 4 kB / 1.45 GB, free: 1.863 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0003127/0.3374, allocations: 439.1 kB / 1.451 GB, free: 1.438 MB / 1.12 GB Notification: Performance of sort global known variables: time 6e-08/0.3374, allocations: 0 / 1.451 GB, free: 1.438 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001974/0.3376, allocations: 31.88 kB / 1.451 GB, free: 1.406 MB / 1.12 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.000894/0.3385, allocations: 0.9943 MB / 1.452 GB, free: 0.543 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3386, allocations: 35.86 kB / 1.452 GB, free: 0.5078 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3386, allocations: 0 / 1.452 GB, free: 0.5078 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.3386, allocations: 19.98 kB / 1.452 GB, free: 500 kB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3389, allocations: 41.42 kB / 1.452 GB, free: 460 kB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3414, allocations: 2.972 MB / 1.455 GB, free: 13.4 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3415, allocations: 182.1 kB / 1.455 GB, free: 13.2 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 8.244e-05/0.3416, allocations: 47.25 kB / 1.455 GB, free: 13.16 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3417, allocations: 99.41 kB / 1.455 GB, free: 13.06 MB / 1.135 GB Notification: Performance of SimCode: time 4.81e-07/0.3417, allocations: 0 / 1.455 GB, free: 13.06 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.3611, allocations: 6.345 MB / 1.461 GB, free: 6.809 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/7.064, allocations: 16 kB / 1.461 GB, free: 6.793 MB / 1.135 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 12.419341864064336]