Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001114/0.001114, allocations: 192.7 kB / 377.1 MB, free: 1.531 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.573/1.573, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.0009393/0.0009393, allocations: 87.83 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7/0.9656, allocations: 138.5 MB / 1.124 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.9659, allocations: 66.59 kB / 1.124 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002174/0.9681, allocations: 0.8335 MB / 1.125 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9681, allocations: 0 / 1.125 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.9681, allocations: 4 kB / 1.125 GB, free: 35.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004178/0.9685, allocations: 379.6 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9686, allocations: 16.02 kB / 1.125 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.9686, allocations: 38.48 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.9687, allocations: 5.969 kB / 1.125 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.9688, allocations: 163.1 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9688, allocations: 0 / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.9688, allocations: 13.56 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.9691, allocations: 84.56 kB / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.9691, allocations: 0 / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.9691, allocations: 0 / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.9691, allocations: 0 / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.9694, allocations: 88.77 kB / 1.125 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.9699, allocations: 306.2 kB / 1.126 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.9701, allocations: 72.17 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.9701, allocations: 4 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.9701, allocations: 35.06 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.9701, allocations: 0 / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004963/0.9706, allocations: 161.7 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.9707, allocations: 55.41 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.9708, allocations: 104.6 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.9708, allocations: 25.7 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.9708, allocations: 96.06 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.9709, allocations: 11.81 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.9709, allocations: 0 / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.9709, allocations: 318.8 kB / 1.126 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.9711, allocations: 43 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.9712, allocations: 46.5 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.9713, allocations: 43.25 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9714, allocations: 0 / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002995/0.9717, allocations: 122.8 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9717, allocations: 7.938 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9717, allocations: 0 / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9717, allocations: 8 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.9719, allocations: 23.39 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9719, allocations: 0 / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.972, allocations: 15.52 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.972, allocations: 4.844 kB / 1.127 GB, free: 32.92 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: 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 5.908e-05/0.972, allocations: 117.8 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.9721, allocations: 7.906 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.9721, allocations: 8.828 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.9721, allocations: 0.5 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9721, allocations: 0 / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9721, allocations: 4 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.9723, allocations: 176 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9723, allocations: 0.625 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.9724, allocations: 28.08 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9724, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.9724, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.9724, allocations: 0.6875 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9724, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.9728, allocations: 220.3 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.9728, allocations: 90.05 kB / 1.127 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.9728, allocations: 1.266 kB / 1.127 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9729, allocations: 20.3 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.973, allocations: 3.609 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.973, allocations: 0 / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.973, allocations: 91.78 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.973, allocations: 0 / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002027/0.9732, allocations: 8 kB / 1.128 GB, free: 32.12 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: 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.000514/0.9738, allocations: 0.7529 MB / 1.128 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.9741, allocations: 104.9 kB / 1.128 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9741, allocations: 0 / 1.128 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.9742, allocations: 46.45 kB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.9745, allocations: 4 kB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.9749, allocations: 174.5 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.975, allocations: 0.6844 MB / 1.129 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.9751, allocations: 5.219 kB / 1.129 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.9751, allocations: 14.77 kB / 1.129 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of SimCode: time 1.793e-06/0.9751, allocations: 4 kB / 1.129 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.9871, allocations: 1.319 MB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.9873, allocations: 182 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.555, allocations: 0 / 1.131 GB, free: 29.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)