Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 3.046/3.046, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.002392/0.002392, allocations: 192.8 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.553/3.553, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.001404/0.001404, allocations: 94.25 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.519e-05/4.52e-05, allocations: 8 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301/1.301, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/1.664, allocations: 137.1 MB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004361/1.665, allocations: 64.47 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008357/1.673, allocations: 1.45 MB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.188e-06/1.673, allocations: 4.469 kB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.673, allocations: 0 / 1.1 GB, free: 1.156 MB / 0.698 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.001054/1.674, allocations: 390 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001013/1.674, allocations: 8.031 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/1.674, allocations: 12.94 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/1.675, allocations: 188.4 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/1.675, allocations: 4.906 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/1.675, allocations: 0 / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002613/1.675, allocations: 48.47 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/1.675, allocations: 70.25 kB / 1.101 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.676, allocations: 3.984 kB / 1.101 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/1.676, allocations: 1.594 kB / 1.101 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.676, allocations: 4 kB / 1.101 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.677, allocations: 315.1 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/1.678, allocations: 92.12 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.678, allocations: 28.86 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/1.678, allocations: 4.703 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.678, allocations: 32.19 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.116e-06/1.678, allocations: 0.75 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005294/1.678, allocations: 87.38 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.678, allocations: 56.34 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/1.679, allocations: 113.9 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.679, allocations: 29.69 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/1.679, allocations: 96.05 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/1.679, allocations: 15.75 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/1.679, allocations: 3.938 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.679, allocations: 324.1 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/1.679, allocations: 20 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/1.679, allocations: 23.98 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/1.679, allocations: 18.22 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.679, allocations: 0 / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002433/1.68, allocations: 89.56 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.68, allocations: 5.25 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.68, allocations: 0 / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.68, allocations: 5.406 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/1.68, allocations: 35.91 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.68, allocations: 0 / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/1.68, allocations: 15.98 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/1.68, allocations: 13.78 kB / 1.102 GB, free: 14.88 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.0001347/1.68, allocations: 111.6 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002332/1.681, allocations: 84.5 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/1.681, allocations: 13.2 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/1.681, allocations: 8.625 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.681, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.681, allocations: 4 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.681, allocations: 3.953 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/1.681, allocations: 170.2 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.681, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/1.681, allocations: 39.91 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.681, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/1.682, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/1.682, allocations: 2.75 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.682, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/1.682, allocations: 184.7 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/1.682, allocations: 88.95 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/1.682, allocations: 0 / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/1.682, allocations: 23.97 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.682, allocations: 19.97 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.682, allocations: 4 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.994e-05/1.683, allocations: 91.78 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/1.683, allocations: 0 / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004089/1.683, allocations: 16.12 kB / 1.103 GB, free: 13.95 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.0007608/1.684, allocations: 0.7378 MB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002505/1.684, allocations: 59.97 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.684, allocations: 0 / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/1.684, allocations: 35.94 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/1.684, allocations: 8.672 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/1.685, allocations: 149.8 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/1.686, allocations: 0.6963 MB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001338/1.686, allocations: 8.188 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/1.686, allocations: 27.42 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/1.686, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09995/1.786, allocations: 1.946 MB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000402/1.786, allocations: 155.2 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/4.554, allocations: 0 / 1.106 GB, free: 10.07 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)