Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.844/2.844, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001529/0.001528, allocations: 182.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 100.9 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 13.36 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2369, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001039/0.238, allocations: 481.6 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2391, allocations: 0.8642 MB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.2392, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.2393, allocations: 3.938 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.2394, allocations: 11.98 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.2395, allocations: 31.89 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2397, allocations: 55.88 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2398, allocations: 16.22 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.2399, allocations: 35.91 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.24, allocations: 39.83 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.24, allocations: 4 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.102e-05/0.2401, allocations: 4 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.2401, allocations: 19.91 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.2401, allocations: 37.64 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.894e-05/0.2403, allocations: 55.86 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2403, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2403, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2403, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 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.00075/0.2411, allocations: 399.3 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.2411, allocations: 12.02 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.2412, allocations: 38.5 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.2412, allocations: 15.77 kB / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2414, allocations: 184.1 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2414, allocations: 4 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2414, allocations: 4 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.2419, allocations: 121.5 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2419, allocations: 0 / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.242, allocations: 0 / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.242, allocations: 0 / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.2426, allocations: 123.9 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.2433, allocations: 340.7 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2444, allocations: 134.5 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.2445, allocations: 4.141 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2445, allocations: 42.5 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.2445, allocations: 0 / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001118/0.2457, allocations: 213.4 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2457, allocations: 63.34 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2458, allocations: 123.3 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2459, allocations: 25.7 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.2459, allocations: 104 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.246, allocations: 15.81 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.246, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.246, allocations: 318.8 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.2464, allocations: 59.95 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.2467, allocations: 51.95 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.247, allocations: 55.97 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2471, allocations: 0 / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007165/0.2478, allocations: 165.4 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2478, allocations: 11.95 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2478, allocations: 0 / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2479, allocations: 0 / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.2482, allocations: 35.97 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2482, allocations: 0 / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2484, allocations: 23.91 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2485, allocations: 4 kB / 0.9825 GB, free: 23.73 MB / 0.6198 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.y,reaToInt.y,reaToInt1.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 9.425e-05/0.2486, allocations: 123.9 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2486, allocations: 7.906 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.2486, allocations: 12.33 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2487, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2487, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2487, allocations: 3.984 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.2489, allocations: 201.5 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2489, allocations: 3.938 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2492, allocations: 35.91 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2493, allocations: 7.984 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2493, allocations: 0 / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2493, allocations: 7.953 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2493, allocations: 0 / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.25, allocations: 259.4 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.2501, allocations: 85.02 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2501, allocations: 0 / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.2504, allocations: 19.98 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.2505, allocations: 27.92 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.2505, allocations: 3.984 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.141e-05/0.2506, allocations: 96.39 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2506, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003109/0.2509, allocations: 19.91 kB / 0.9834 GB, free: 22.75 MB / 0.6198 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 (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.000999/0.2519, allocations: 0.7872 MB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007204/0.2527, allocations: 124 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2527, allocations: 0 / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.2531, allocations: 84 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.2534, allocations: 11.95 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.2554, allocations: 0.6695 MB / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2556, allocations: 0.6965 MB / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.2558, allocations: 12.19 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.2559, allocations: 23.42 kB / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/0.2559, allocations: 0 / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2819, allocations: 2.288 MB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.2822, allocations: 190.4 kB / 0.9881 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.677, allocations: 0 / 0.9881 GB, free: 17.85 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)