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.0009942/0.0009942, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009025/0.0009025, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9044/0.9044, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.972/1.972, allocations: 428.6 MB / 0.6716 GB, free: 5.043 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.403e-06/1.403e-06, allocations: 0 / 1.064 GB, free: 34.08 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.891e-05, allocations: 2.281 kB / 1.064 GB, free: 34.08 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002064/0.002083, allocations: 1.81 MB / 1.066 GB, free: 32.86 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003153, allocations: 1.076 MB / 1.067 GB, free: 32.16 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.003245, allocations: 6.812 kB / 1.067 GB, free: 32.16 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.003654, allocations: 188.4 kB / 1.067 GB, free: 32.09 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.004, allocations: 222.2 kB / 1.067 GB, free: 31.98 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004307, allocations: 222.2 kB / 1.067 GB, free: 31.87 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.004533, allocations: 275.8 kB / 1.068 GB, free: 31.74 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.00465, allocations: 34.55 kB / 1.068 GB, free: 31.73 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.004842, allocations: 145.7 kB / 1.068 GB, free: 31.66 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.004989, allocations: 154.3 kB / 1.068 GB, free: 31.62 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.005019, allocations: 20.31 kB / 1.068 GB, free: 31.62 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 8.308e-05/0.005102, allocations: 53.12 kB / 1.068 GB, free: 31.61 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.00517, allocations: 96.16 kB / 1.068 GB, free: 31.57 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.005218, allocations: 62.41 kB / 1.068 GB, free: 31.53 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.005493, allocations: 378.9 kB / 1.069 GB, free: 31.4 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005496, allocations: 0 / 1.069 GB, free: 31.4 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.383e-06/0.005497, allocations: 0 / 1.069 GB, free: 31.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.005504, allocations: 0 / 1.069 GB, free: 31.4 MB / 1.01 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.0005134/0.006017, allocations: 0.5551 MB / 1.069 GB, free: 30.94 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006053, allocations: 8.781 kB / 1.069 GB, free: 30.94 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.006079, allocations: 40.8 kB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.006202, allocations: 43.8 kB / 1.069 GB, free: 30.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.006587, allocations: 373.1 kB / 1.07 GB, free: 30.62 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.006598, allocations: 6.719 kB / 1.07 GB, free: 30.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.006608, allocations: 5.406 kB / 1.07 GB, free: 30.62 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.006718, allocations: 76.38 kB / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.006724, allocations: 0 / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006734, allocations: 2.75 kB / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006738, allocations: 0 / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.006808, allocations: 46.2 kB / 1.07 GB, free: 30.55 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.007167, allocations: 432.3 kB / 1.07 GB, free: 30.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.51e-05/0.007262, allocations: 50.8 kB / 1.07 GB, free: 30.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.007291, allocations: 20.44 kB / 1.07 GB, free: 30.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.007309, allocations: 0 / 1.07 GB, free: 30.18 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.017e-05/0.007319, allocations: 36.55 kB / 1.07 GB, free: 30.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.00732, allocations: 0 / 1.07 GB, free: 30.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=3): time 0.0001792/0.007499, allocations: 98.58 kB / 1.07 GB, free: 30.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.007518, allocations: 57.45 kB / 1.07 GB, free: 30.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.00788, allocations: 0.5713 MB / 1.071 GB, free: 29.78 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.007886, allocations: 33.64 kB / 1.071 GB, free: 29.74 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.007948, allocations: 184.5 kB / 1.071 GB, free: 29.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.007963, allocations: 14.77 kB / 1.071 GB, free: 29.57 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.007985, allocations: 12.75 kB / 1.071 GB, free: 29.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.008028, allocations: 348.6 kB / 1.071 GB, free: 29.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.008055, allocations: 12.66 kB / 1.071 GB, free: 29.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.008075, allocations: 11.89 kB / 1.071 GB, free: 29.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.008124, allocations: 34.19 kB / 1.072 GB, free: 29.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.008126, allocations: 0 / 1.072 GB, free: 29.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.333e-05/0.008219, allocations: 98.75 kB / 1.072 GB, free: 29.15 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.00823, allocations: 2.875 kB / 1.072 GB, free: 29.15 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.008235, allocations: 6.75 kB / 1.072 GB, free: 29.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.008246, allocations: 0 / 1.072 GB, free: 29.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.008301, allocations: 13.12 kB / 1.072 GB, free: 29.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008306, allocations: 7.938 kB / 1.072 GB, free: 29.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.00834, allocations: 6.766 kB / 1.072 GB, free: 29.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.008344, allocations: 0 / 1.072 GB, free: 29.13 MB / 1.01 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 7.894e-05/0.008423, allocations: 184.3 kB / 1.072 GB, free: 28.99 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.008451, allocations: 29.75 kB / 1.072 GB, free: 28.97 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.008577, allocations: 106.5 kB / 1.072 GB, free: 28.91 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008579, allocations: 0 / 1.072 GB, free: 28.91 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008582, allocations: 0 / 1.072 GB, free: 28.91 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.008586, allocations: 7.172 kB / 1.072 GB, free: 28.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.008733, allocations: 235.5 kB / 1.072 GB, free: 28.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008734, allocations: 0 / 1.072 GB, free: 28.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.008755, allocations: 5.734 kB / 1.072 GB, free: 28.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008758, allocations: 6.75 kB / 1.072 GB, free: 28.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008765, allocations: 11.27 kB / 1.072 GB, free: 28.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008766, allocations: 0 / 1.072 GB, free: 28.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008768, allocations: 4 kB / 1.072 GB, free: 28.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.462e-05/0.008862, allocations: 190.4 kB / 1.072 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.008896, allocations: 36.92 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.008914, allocations: 0 / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.35e-05/0.008958, allocations: 2.75 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.008987, allocations: 11.31 kB / 1.072 GB, free: 28.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.008991, allocations: 2.594 kB / 1.072 GB, free: 28.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002521/0.009243, allocations: 430.4 kB / 1.073 GB, free: 28.32 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.009243, allocations: 0 / 1.073 GB, free: 28.32 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001784/0.009421, allocations: 33.97 kB / 1.073 GB, free: 28.32 MB / 1.01 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.0007167/0.01014, allocations: 0.9839 MB / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01026, allocations: 36.64 kB / 1.074 GB, free: 27.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01026, allocations: 0 / 1.074 GB, free: 27.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.01029, allocations: 22.16 kB / 1.074 GB, free: 27.53 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01055, allocations: 49.19 kB / 1.074 GB, free: 27.51 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.01268, allocations: 2.971 MB / 1.077 GB, free: 25.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01278, allocations: 190 kB / 1.077 GB, free: 25.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.431e-05/0.01287, allocations: 49.42 kB / 1.077 GB, free: 25.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.223e-05/0.01296, allocations: 94.25 kB / 1.077 GB, free: 25.56 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.01296, allocations: 0 / 1.077 GB, free: 25.56 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.0322, allocations: 6.523 MB / 1.084 GB, free: 24.06 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.197, allocations: 3.984 kB / 1.084 GB, free: 24.06 MB / 1.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 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: 11.879196729511023]