Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 187.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 95.86 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003938, allocations: 14.06 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.21/0.4621, allocations: 131.4 MB / 1.028 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.4623, allocations: 71.95 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002433/0.4648, allocations: 0.8566 MB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4648, allocations: 0 / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4648, allocations: 4 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006505/0.4655, allocations: 383.1 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.4656, allocations: 8.031 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.4657, allocations: 42.44 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.4657, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4659, allocations: 174.9 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.466, allocations: 11.92 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.466, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.4663, allocations: 73.66 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4663, allocations: 7.984 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.4664, allocations: 4 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4664, allocations: 0 / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.4667, allocations: 87.86 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.4675, allocations: 312.8 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.4677, allocations: 66.53 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.4677, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4678, allocations: 38.56 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4678, allocations: 0 / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006605/0.4685, allocations: 169.5 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.4685, allocations: 51.41 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4687, allocations: 109.2 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.4687, allocations: 25.7 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.4688, allocations: 88.14 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4688, allocations: 3.906 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4689, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002543/0.4691, allocations: 322.8 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4693, allocations: 43.97 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.4695, allocations: 39.97 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4696, allocations: 47.95 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4696, allocations: 0 / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003792/0.47, allocations: 125.5 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.4701, allocations: 6.969 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4701, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.4701, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.4703, allocations: 27.97 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4703, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.4704, allocations: 19.98 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4704, allocations: 0 / 1.032 GB, free: 8.855 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.4706, allocations: 118.1 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.4706, allocations: 4 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.4707, allocations: 11.91 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4707, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4707, allocations: 3.938 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4707, allocations: 3.984 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.471, allocations: 173.5 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.471, allocations: 4 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.4711, allocations: 15.98 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4711, allocations: 3.938 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4712, allocations: 11.98 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4712, allocations: 0 / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4712, allocations: 0 / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.4717, allocations: 215.8 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.4717, allocations: 81.02 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.4718, allocations: 4 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4719, allocations: 16.02 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.472, allocations: 15.98 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.472, allocations: 0 / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.708e-05/0.4721, allocations: 91.27 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4721, allocations: 0 / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000209/0.4723, allocations: 8 kB / 1.032 GB, free: 7.992 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.4734, allocations: 0.756 MB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.4737, allocations: 87.92 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4738, allocations: 4 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4739, allocations: 43.91 kB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.4742, allocations: 12 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.4748, allocations: 170.2 kB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.4753, allocations: 0.6887 MB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.4754, allocations: 3.859 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.4755, allocations: 15.44 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4755, allocations: 288 / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.488, allocations: 1.33 MB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.4883, allocations: 185.3 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.051, allocations: 0 / 1.036 GB, free: 4.703 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)