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.000739/0.000739, allocations: 96.7 kB / 19.44 MB, free: 356 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.0008196/0.0008196, allocations: 161.3 kB / 22.75 MB, free: 1.684 MB / 18.57 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.8758/0.8758, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.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 1.904/1.904, allocations: 428.6 MB / 0.672 GB, free: 4.895 MB / 0.6355 GB " [Timeout remaining time 178] 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 1.442e-06/1.442e-06, allocations: 0 / 0.8758 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.903e-05, allocations: 6.25 kB / 0.8758 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002203/0.002222, allocations: 1.802 MB / 0.8776 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003548, allocations: 1.093 MB / 0.8787 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.003675, allocations: 7.938 kB / 0.8787 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.004127, allocations: 173.1 kB / 0.8788 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.004591, allocations: 228.9 kB / 0.879 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.004939, allocations: 217 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.005198, allocations: 267.3 kB / 0.8795 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.00532, allocations: 40.56 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.005553, allocations: 144.5 kB / 0.8797 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.005713, allocations: 151.6 kB / 0.8798 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.005743, allocations: 20 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.005831, allocations: 56.67 kB / 0.8799 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.005905, allocations: 95.73 kB / 0.88 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.005957, allocations: 64.38 kB / 0.8801 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.00628, allocations: 378.2 kB / 0.8804 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.006285, allocations: 4 kB / 0.8804 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006286, allocations: 0 / 0.8804 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.006292, allocations: 0 / 0.8804 GB, free: 3.719 MB / 0.8386 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.0006271/0.006919, allocations: 0.547 MB / 0.881 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.006957, allocations: 8.031 kB / 0.881 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.006991, allocations: 42.73 kB / 0.881 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.007158, allocations: 48.69 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.007658, allocations: 384.4 kB / 0.8814 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.007667, allocations: 384 / 0.8814 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.007677, allocations: 12.38 kB / 0.8814 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.007806, allocations: 77.98 kB / 0.8815 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.007813, allocations: 0 / 0.8815 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.007823, allocations: 4 kB / 0.8815 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.007828, allocations: 4 kB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/0.007905, allocations: 43.97 kB / 0.8815 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.008339, allocations: 431.6 kB / 0.882 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.008441, allocations: 46.56 kB / 0.882 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.008473, allocations: 20.91 kB / 0.882 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.008491, allocations: 0 / 0.882 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.008512, allocations: 42.5 kB / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.008513, allocations: 0 / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000209/0.008722, allocations: 105.4 kB / 0.8822 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.008747, allocations: 51.41 kB / 0.8822 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.009194, allocations: 0.5796 MB / 0.8828 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.009204, allocations: 25.7 kB / 0.8828 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.009294, allocations: 176 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.00931, allocations: 15.95 kB / 0.883 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.009342, allocations: 25.64 kB / 0.883 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.009429, allocations: 346.8 kB / 0.8833 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.00946, allocations: 11.98 kB / 0.8834 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.009483, allocations: 15.94 kB / 0.8834 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/0.009538, allocations: 36.83 kB / 0.8834 GB, free: 484 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.00954, allocations: 0 / 0.8834 GB, free: 484 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.009643, allocations: 89.48 kB / 0.8835 GB, free: 388 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.009655, allocations: 4 kB / 0.8835 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00966, allocations: 4 kB / 0.8835 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00967, allocations: 4 kB / 0.8835 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.00972, allocations: 4 kB / 0.8835 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009726, allocations: 3.938 kB / 0.8835 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.009761, allocations: 4 kB / 0.8835 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.009767, allocations: 3.984 kB / 0.8835 GB, free: 360 kB / 0.8386 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.0001048/0.009872, allocations: 185.8 kB / 0.8837 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.009908, allocations: 35.77 kB / 0.8837 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01005, allocations: 100.4 kB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01005, allocations: 4 kB / 0.8838 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01005, allocations: 0 / 0.8838 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01006, allocations: 3.938 kB / 0.8838 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.01025, allocations: 232.7 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01025, allocations: 384 / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.01028, allocations: 11.98 kB / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01028, allocations: 0 / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.01029, allocations: 0 / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01029, allocations: 0 / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01029, allocations: 0 / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.01042, allocations: 207.2 kB / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.01046, allocations: 39.8 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01048, allocations: 0 / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.01053, allocations: 4 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.01056, allocations: 15.92 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.01056, allocations: 0 / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003713/0.01093, allocations: 435.1 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01093, allocations: 0 / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001875/0.01112, allocations: 31.89 kB / 0.8848 GB, free: 14.99 MB / 0.8542 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.0008197/0.01194, allocations: 0.9896 MB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.88e-05/0.01204, allocations: 31.97 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01204, allocations: 0 / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.01207, allocations: 20 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01234, allocations: 53.52 kB / 0.8858 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.01471, allocations: 2.979 MB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.01483, allocations: 186.1 kB / 0.8889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.007e-05/0.01491, allocations: 51.42 kB / 0.889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01501, allocations: 96.47 kB / 0.8891 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.01501, allocations: 0 / 0.8891 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.0361, allocations: 6.608 MB / 0.8955 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.937, allocations: 9.312 kB / 0.8955 GB, free: 4.125 MB / 0.8542 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: 10.901529651135206]