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.885/1.885, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001377/0.001377, allocations: 185.1 kB / 377.1 MB, free: 1.52 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.807/1.807, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009283/0.0009284, allocations: 91.8 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003852, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3037, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7159/1.02, allocations: 138.8 MB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.02, allocations: 73.89 kB / 1.124 GB, free: 35.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004496/1.024, allocations: 1.451 MB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/1.025, allocations: 4 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.025, allocations: 4 kB / 1.125 GB, free: 34.58 MB / 0.7292 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.0005549/1.025, allocations: 400.8 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.025, allocations: 12.02 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/1.025, allocations: 34.56 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/1.025, allocations: 17.97 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/1.025, allocations: 182.1 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.025, allocations: 4 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.025, allocations: 12.33 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/1.026, allocations: 110.2 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.026, allocations: 4.656 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.026, allocations: 0 / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.026, allocations: 0 / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/1.026, allocations: 124.2 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/1.027, allocations: 348.5 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/1.027, allocations: 127.6 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/1.027, allocations: 4 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/1.027, allocations: 46.88 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.175e-06/1.027, allocations: 0.7031 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006592/1.028, allocations: 213.3 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/1.028, allocations: 58.73 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/1.028, allocations: 113.2 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/1.028, allocations: 29.7 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/1.028, allocations: 103.5 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/1.028, allocations: 16.47 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/1.028, allocations: 0 / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/1.028, allocations: 318.2 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.029, allocations: 62.06 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/1.029, allocations: 54.83 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.029, allocations: 58.55 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.029, allocations: 0 / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004031/1.029, allocations: 167.4 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.029, allocations: 4.781 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/1.029, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.029, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/1.03, allocations: 31.08 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.03, allocations: 4 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/1.03, allocations: 31.33 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/1.03, allocations: 1.094 kB / 1.128 GB, free: 32 MB / 0.7292 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 () * Number of clocked 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 8.324e-05/1.03, allocations: 117.8 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/1.03, allocations: 9.031 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/1.03, allocations: 8.375 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.03, allocations: 7.422 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.03, allocations: 4.5 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.03, allocations: 0.8438 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/1.03, allocations: 199 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.03, allocations: 4.938 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/1.03, allocations: 31.47 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.03, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.03, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.03, allocations: 4 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.03, allocations: 0 / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/1.031, allocations: 270.9 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/1.031, allocations: 85.02 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/1.031, allocations: 0.625 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/1.031, allocations: 19.31 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/1.031, allocations: 28.77 kB / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.031, allocations: 0 / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.524e-05/1.031, allocations: 97.19 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.031, allocations: 0 / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002349/1.032, allocations: 23.94 kB / 1.129 GB, free: 31.11 MB / 0.7292 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 () * Number of clocked 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.0006331/1.032, allocations: 0.7988 MB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000407/1.033, allocations: 133.2 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.033, allocations: 0 / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/1.033, allocations: 69.78 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/1.033, allocations: 8.734 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/1.034, allocations: 0.6867 MB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/1.035, allocations: 0.6949 MB / 1.131 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.285e-05/1.035, allocations: 13.44 kB / 1.131 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/1.035, allocations: 30.38 kB / 1.131 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/1.035, allocations: 0 / 1.131 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/1.05, allocations: 2.282 MB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/1.05, allocations: 176 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.702, allocations: 0 / 1.134 GB, free: 27.29 MB / 0.7292 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)