Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008563/0.0008566, allocations: 79.27 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.459e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7667, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.9773, allocations: 138.1 MB / 1.108 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.9775, allocations: 71.95 kB / 1.108 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004846/0.9824, allocations: 1.449 MB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9825, allocations: 3.656 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.9825, allocations: 4 kB / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006666/0.9832, allocations: 395.2 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.9832, allocations: 8.031 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.9833, allocations: 9.094 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.9836, allocations: 182.8 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.9836, allocations: 4 kB / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.9836, allocations: 4 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001577/0.9838, allocations: 44.83 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.984, allocations: 78.41 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.984, allocations: 0 / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.984, allocations: 0 / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.984, allocations: 1.062 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.9847, allocations: 316.2 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.9852, allocations: 96.08 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.9853, allocations: 24.86 kB / 1.111 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.9853, allocations: 4.141 kB / 1.111 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.9853, allocations: 35.58 kB / 1.111 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.9854, allocations: 4 kB / 1.111 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002635/0.9856, allocations: 80.94 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.9857, allocations: 51.41 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.9858, allocations: 115.5 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.9858, allocations: 25.7 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.9859, allocations: 101.7 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.9859, allocations: 19.75 kB / 1.111 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.986, allocations: 3.938 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9861, allocations: 318.8 kB / 1.112 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.9862, allocations: 21.03 kB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.9862, allocations: 27.94 kB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.9863, allocations: 17.8 kB / 1.112 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9863, allocations: 4 kB / 1.112 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.9864, allocations: 91.67 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.9865, allocations: 4 kB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9865, allocations: 0 / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9865, allocations: 4 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.9867, allocations: 27.97 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.9867, allocations: 4 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.9869, allocations: 15.98 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.9869, allocations: 4 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001025/0.987, allocations: 115.6 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001723/0.9872, allocations: 85.58 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.9872, allocations: 7.906 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.9873, allocations: 16.61 kB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9873, allocations: 2.062 kB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9873, allocations: 0 / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.9873, allocations: 3.953 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.9875, allocations: 166.2 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9876, allocations: 3.938 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.9877, allocations: 35.97 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9878, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.9878, allocations: 7.984 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9878, allocations: 0 / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9878, allocations: 0 / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.9881, allocations: 191.3 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.9881, allocations: 88.95 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.9882, allocations: 3.984 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.9883, allocations: 15.98 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.9884, allocations: 23.97 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.9884, allocations: 4 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.9885, allocations: 97.64 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9885, allocations: 0 / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002511/0.9888, allocations: 20 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005442/0.9893, allocations: 0.73 MB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.9895, allocations: 55.98 kB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9895, allocations: 0 / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.9896, allocations: 38.83 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.9898, allocations: 12 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.9904, allocations: 146.1 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.9907, allocations: 0.6924 MB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.958e-05/0.9908, allocations: 17.42 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.9909, allocations: 27.42 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.9909, allocations: 0 / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/1.014, allocations: 1.93 MB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.014, allocations: 139 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.721, allocations: 0 / 1.116 GB, free: 3.449 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)