Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01075/0.01075, allocations: 170 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003737, allocations: 15.38 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4083, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001244/0.4096, allocations: 0.4975 MB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.411, allocations: 0.8702 MB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.4111, allocations: 0 / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.4111, allocations: 3.938 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.4112, allocations: 7.922 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.4114, allocations: 35.91 kB / 1.076 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.4116, allocations: 75.88 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.4117, allocations: 27.98 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.4119, allocations: 35.78 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.412, allocations: 39.83 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.412, allocations: 4 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.412, allocations: 4 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.4121, allocations: 11.92 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.4121, allocations: 61.48 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.4123, allocations: 75.72 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4123, allocations: 4 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4123, allocations: 0 / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.4123, allocations: 4 kB / 1.076 GB, free: 5.82 MB / 0.8262 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.0006618/0.413, allocations: 387.5 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.413, allocations: 8.031 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.4131, allocations: 8.844 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4132, allocations: 184.2 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.4133, allocations: 8.375 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.4133, allocations: 4.375 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.4137, allocations: 117.7 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4137, allocations: 0 / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4137, allocations: 11.98 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4137, allocations: 4 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.4141, allocations: 119.9 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.4147, allocations: 336.6 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.4154, allocations: 134.6 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.4156, allocations: 72.8 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4156, allocations: 7.984 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4157, allocations: 34.5 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.4157, allocations: 0 / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007203/0.4164, allocations: 213.5 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4164, allocations: 55.39 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4166, allocations: 129.7 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4166, allocations: 25.7 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.4167, allocations: 92.12 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4167, allocations: 23.66 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.4167, allocations: 13.72 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4169, allocations: 326.8 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4171, allocations: 51.95 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4173, allocations: 67.89 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.4176, allocations: 120.8 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4177, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004306/0.4181, allocations: 157.5 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4181, allocations: 8 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4181, allocations: 0 / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4182, allocations: 0 / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4183, allocations: 27.97 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4183, allocations: 4 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4185, allocations: 27.91 kB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4185, allocations: 11.94 kB / 1.079 GB, free: 2.859 MB / 0.8262 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 (reaToInt1.y,reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4186, allocations: 113.8 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.4186, allocations: 7.906 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.4187, allocations: 8.375 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4187, allocations: 4 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4187, allocations: 0 / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4187, allocations: 7.922 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.4189, allocations: 197.6 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4189, allocations: 0 / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4191, allocations: 27.97 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4191, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.4191, allocations: 7.984 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4191, allocations: 4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4191, allocations: 0 / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.4197, allocations: 267.2 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.4197, allocations: 84.95 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4198, allocations: 4 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4199, allocations: 19.98 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.42, allocations: 19.97 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.42, allocations: 7.938 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.4201, allocations: 91.27 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4201, allocations: 0 / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002449/0.4203, allocations: 16 kB / 1.079 GB, free: 1.895 MB / 0.8262 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.y,reaToInt.y,reaToInt1.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 (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.0001518/0.4205, allocations: 103.2 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.421, allocations: 128.5 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.421, allocations: 0 / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.4212, allocations: 75.94 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.4215, allocations: 4 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.422, allocations: 193.4 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4224, allocations: 0.6887 MB / 1.081 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.66e-05/0.4225, allocations: 15.98 kB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.4225, allocations: 15.42 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4226, allocations: 3.938 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of Templates: time 0.004217/0.4268, allocations: 1.339 MB / 1.082 GB, free: 15.27 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)