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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007578/0.0007578, allocations: 98.03 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.00493/0.00493, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 18.8 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0009438/0.2366, allocations: 0.4972 MB / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.2375, allocations: 0.8642 MB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2376, allocations: 4 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2376, allocations: 0 / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.2377, allocations: 7.922 kB / 0.7894 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.2378, allocations: 43.91 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2379, allocations: 83.81 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.238, allocations: 20.22 kB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.2381, allocations: 27.86 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.2382, allocations: 47.75 kB / 0.7896 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2382, allocations: 8 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.2383, allocations: 4 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.2383, allocations: 11.98 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.2383, allocations: 57.48 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.2385, allocations: 83.92 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2385, allocations: 0 / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2385, allocations: 0 / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2385, allocations: 0 / 0.7897 GB, free: 9.707 MB / 0.6075 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.0005973/0.2391, allocations: 399.2 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2391, allocations: 11.97 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.2392, allocations: 38.75 kB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.2392, allocations: 12.75 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2394, allocations: 180.2 kB / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2394, allocations: 8.375 kB / 0.7903 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2394, allocations: 4.375 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.2397, allocations: 118.2 kB / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2397, allocations: 3.938 kB / 0.7905 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2398, allocations: 0 / 0.7905 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2398, allocations: 4 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.2402, allocations: 119.9 kB / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.2407, allocations: 356.5 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.2413, allocations: 130.6 kB / 0.791 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.2415, allocations: 64.81 kB / 0.7911 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2415, allocations: 3.984 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2416, allocations: 42.5 kB / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2416, allocations: 0 / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006814/0.2423, allocations: 205.6 kB / 0.7914 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2423, allocations: 51.41 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.2424, allocations: 139.2 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.2424, allocations: 25.7 kB / 0.7916 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.2425, allocations: 100.1 kB / 0.7917 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2425, allocations: 11.72 kB / 0.7917 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.2426, allocations: 17.72 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.2427, allocations: 322.8 kB / 0.792 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2429, allocations: 63.94 kB / 0.7921 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.2431, allocations: 59.89 kB / 0.7921 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.2434, allocations: 121.2 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2434, allocations: 0 / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004246/0.2439, allocations: 165.5 kB / 0.7924 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2439, allocations: 4 kB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2439, allocations: 4 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2439, allocations: 0 / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.2441, allocations: 27.97 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2441, allocations: 4 kB / 0.7924 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2443, allocations: 27.91 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2443, allocations: 3.938 kB / 0.7924 GB, free: 6.68 MB / 0.6075 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 8.262e-05/0.2444, allocations: 121.8 kB / 0.7926 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.2444, allocations: 7.906 kB / 0.7926 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.2444, allocations: 8.375 kB / 0.7926 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2444, allocations: 7.984 kB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2444, allocations: 0 / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2445, allocations: 3.938 kB / 0.7926 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.2446, allocations: 205.5 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2447, allocations: 4 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2448, allocations: 27.97 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2448, allocations: 0 / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2448, allocations: 7.984 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2449, allocations: 0 / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2449, allocations: 4 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.2454, allocations: 263.2 kB / 0.7931 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2454, allocations: 81.02 kB / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.2454, allocations: 0 / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2456, allocations: 23.97 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.2457, allocations: 15.98 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2457, allocations: 11.92 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.138e-05/0.2457, allocations: 95.89 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2457, allocations: 8 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002234/0.246, allocations: 15.94 kB / 0.7933 GB, free: 5.691 MB / 0.6075 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.0007371/0.2467, allocations: 0.7904 MB / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.2472, allocations: 123.9 kB / 0.7942 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2472, allocations: 0 / 0.7942 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.2474, allocations: 83.88 kB / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2477, allocations: 11.94 kB / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.2498, allocations: 1.623 MB / 0.7959 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.25, allocations: 0.6887 MB / 0.7966 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.2501, allocations: 15.98 kB / 0.7966 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.2502, allocations: 27.42 kB / 0.7966 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2502, allocations: 0 / 0.7966 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.2617, allocations: 2.307 MB / 0.7989 GB, free: 20 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.2619, allocations: 205.8 kB / 0.7991 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.9, allocations: 3.938 kB / 0.7991 GB, free: 15.75 MB / 0.6231 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/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)