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.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001044/0.001044, allocations: 180.2 kB / 371.6 MB, free: 3.355 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.559/1.559, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008704/0.0008705, allocations: 90.69 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.8e-05/4.824e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3063, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9797/1.286, allocations: 138.7 MB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.287, allocations: 71.48 kB / 1.115 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004875/1.291, allocations: 1.457 MB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.214e-06/1.292, allocations: 0 / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.292, allocations: 4 kB / 1.117 GB, free: 43.87 MB / 0.7448 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.0005582/1.292, allocations: 379.2 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.292, allocations: 12.03 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/1.292, allocations: 42.31 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/1.292, allocations: 10.41 kB / 1.117 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.292, allocations: 178.9 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.292, allocations: 6.891 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/1.293, allocations: 4 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/1.293, allocations: 85.09 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.293, allocations: 0 / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.293, allocations: 0 / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.293, allocations: 4 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/1.293, allocations: 50.14 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/1.293, allocations: 358.8 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/1.294, allocations: 92.09 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/1.294, allocations: 32.55 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/1.294, allocations: 3.938 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/1.294, allocations: 38.5 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.294, allocations: 0 / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002438/1.294, allocations: 81.59 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/1.294, allocations: 62.69 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/1.294, allocations: 116.7 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.294, allocations: 29.58 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/1.294, allocations: 92.02 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/1.294, allocations: 26.77 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/1.295, allocations: 0 / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/1.295, allocations: 314.8 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/1.295, allocations: 26.55 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/1.295, allocations: 20.28 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/1.295, allocations: 23.98 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.295, allocations: 0 / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001533/1.295, allocations: 96.17 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.295, allocations: 8 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/1.295, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.295, allocations: 4 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/1.295, allocations: 26.94 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.295, allocations: 4.797 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/1.295, allocations: 24.17 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.295, allocations: 1.25 kB / 1.119 GB, free: 41.79 MB / 0.7448 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 7.216e-05/1.295, allocations: 108.9 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/1.295, allocations: 7.906 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/1.296, allocations: 11.3 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.296, allocations: 0 / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/1.296, allocations: 4.891 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/1.296, allocations: 7.891 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/1.296, allocations: 202.8 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.296, allocations: 8 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/1.296, allocations: 26.89 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.296, allocations: 0 / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.296, allocations: 1.062 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.296, allocations: 0 / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.296, allocations: 0 / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/1.296, allocations: 196.1 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/1.296, allocations: 89.52 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/1.296, allocations: 0 / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/1.296, allocations: 19.08 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/1.297, allocations: 23.22 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/1.297, allocations: 4.625 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.016e-05/1.297, allocations: 100.4 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.297, allocations: 4.75 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002101/1.297, allocations: 15.81 kB / 1.12 GB, free: 41.02 MB / 0.7448 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.0004723/1.297, allocations: 0.7357 MB / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001611/1.298, allocations: 59.45 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.298, allocations: 0 / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/1.298, allocations: 35.44 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/1.298, allocations: 12.02 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/1.298, allocations: 154.9 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/1.299, allocations: 0.6948 MB / 1.121 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.981e-05/1.299, allocations: 14.69 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/1.299, allocations: 29.83 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of SimCode: time 1.743e-06/1.299, allocations: 0.75 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/1.313, allocations: 2.296 MB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/1.313, allocations: 149.8 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/3.028, allocations: 0 / 1.124 GB, free: 37.88 MB / 0.7448 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)