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.839/2.839, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001288/0.001288, allocations: 172.6 kB / 371 MB, free: 10.88 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.131/2.131, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008852/0.0008849, allocations: 89.66 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005482, allocations: 16.72 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001023/0.247, allocations: 481.7 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2482, allocations: 0.8602 MB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.2482, allocations: 0 / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.2483, allocations: 3.938 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.2484, allocations: 11.92 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.2485, allocations: 31.95 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.2487, allocations: 75.83 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2488, allocations: 20.22 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.2489, allocations: 35.84 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.249, allocations: 39.83 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.249, allocations: 4 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.2491, allocations: 4 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2491, allocations: 23.91 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.2491, allocations: 33.7 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.2492, allocations: 55.86 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2493, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2493, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2493, allocations: 0 / 0.9801 GB, free: 26.55 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.0007413/0.25, allocations: 399.3 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2501, allocations: 16.02 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.2501, allocations: 38.5 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.2502, allocations: 15.77 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2503, allocations: 179 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2504, allocations: 0 / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2504, allocations: 8 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.2509, allocations: 114.7 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2509, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.2509, allocations: 4 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2509, allocations: 3.938 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.2516, allocations: 127.8 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.2523, allocations: 340.7 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.2534, allocations: 130.5 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2537, allocations: 68.8 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.2538, allocations: 7.984 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2538, allocations: 38.52 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.2538, allocations: 3.938 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001123/0.2549, allocations: 213.5 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.255, allocations: 55.34 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.2551, allocations: 126.8 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2552, allocations: 29.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.2552, allocations: 104 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.2553, allocations: 11.81 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.2553, allocations: 0 / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.2554, allocations: 322.8 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.2557, allocations: 55.95 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.256, allocations: 55.95 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.2564, allocations: 55.95 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2564, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007213/0.2571, allocations: 161.5 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2572, allocations: 7.953 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2572, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2572, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2575, allocations: 35.91 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2575, allocations: 8 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2577, allocations: 31.81 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2578, allocations: 0 / 0.9827 GB, free: 23.61 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 8.891e-05/0.2579, allocations: 115.2 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.2579, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.258, allocations: 16.33 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.258, allocations: 4 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.258, allocations: 11.91 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.258, allocations: 0 / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2583, allocations: 201.5 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2583, allocations: 0 / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.2586, allocations: 31.97 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2586, allocations: 0 / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2586, allocations: 4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2586, allocations: 7.953 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2586, allocations: 0 / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.2594, allocations: 255.4 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.2594, allocations: 85.02 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.2595, allocations: 4 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.2597, allocations: 15.98 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2598, allocations: 27.92 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2599, allocations: 7.984 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.2599, allocations: 97.02 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2599, allocations: 0 / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002953/0.2602, allocations: 23.84 kB / 0.9836 GB, free: 22.63 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.0009515/0.2612, allocations: 0.7833 MB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007058/0.2619, allocations: 128 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2619, allocations: 0 / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.2623, allocations: 79.86 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.2627, allocations: 11.95 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.2647, allocations: 0.6773 MB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2648, allocations: 0.6926 MB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.265, allocations: 16.17 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2651, allocations: 27.42 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2651, allocations: 0 / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.2895, allocations: 2.294 MB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.2898, allocations: 189.4 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/2.795, allocations: 0 / 0.9884 GB, free: 17.72 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)