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.001296/0.001296, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.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.775/1.775, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001423/0.001423, allocations: 77.95 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2368, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001988/0.2388, allocations: 0.7865 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.2397, allocations: 0.8593 MB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.2397, allocations: 0 / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.2398, allocations: 7.875 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.2399, allocations: 7.875 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2401, allocations: 43.94 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.2403, allocations: 91.75 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2404, allocations: 32.22 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.2405, allocations: 39.84 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2406, allocations: 43.83 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.2407, allocations: 12 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.2407, allocations: 8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.2408, allocations: 27.83 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.2408, allocations: 35.8 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.241, allocations: 95.88 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.241, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.241, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.241, allocations: 0 / 0.7857 GB, free: 11.14 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.0006073/0.2416, allocations: 399.1 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2416, allocations: 8.031 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.2417, allocations: 42.73 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.2417, allocations: 8.844 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2419, allocations: 179.3 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2419, allocations: 12.38 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2419, allocations: 4.375 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.2422, allocations: 106.1 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2422, allocations: 3.938 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2422, allocations: 4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2422, allocations: 3.984 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.2426, allocations: 99.91 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.2432, allocations: 348.5 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.2438, allocations: 122.6 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.244, allocations: 56.81 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.244, allocations: 0 / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.244, allocations: 34.56 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2441, allocations: 0 / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006831/0.2447, allocations: 197.4 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2448, allocations: 51.41 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2449, allocations: 125.8 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2449, allocations: 29.7 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.245, allocations: 92.05 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.245, allocations: 15.72 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.245, allocations: 25.7 kB / 0.7876 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2452, allocations: 330.8 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.2454, allocations: 43.95 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.2456, allocations: 43.95 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.2459, allocations: 104.7 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2459, allocations: 0 / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000399/0.2463, allocations: 137.5 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2464, allocations: 4 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2464, allocations: 4 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2464, allocations: 0 / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2466, allocations: 27.97 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2466, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2467, allocations: 27.75 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2467, allocations: 4 kB / 0.7883 GB, free: 8.266 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.688e-05/0.2468, allocations: 117.8 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2468, allocations: 4 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.2469, allocations: 8.375 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2469, allocations: 11.98 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2469, allocations: 3.938 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2469, allocations: 0 / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.2471, allocations: 205.5 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2471, allocations: 0 / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2473, allocations: 27.97 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2473, allocations: 0 / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2473, allocations: 4 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2473, allocations: 0 / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2473, allocations: 0 / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.2478, allocations: 243.3 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.2478, allocations: 77.11 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.2479, allocations: 4 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.248, allocations: 15.97 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.2481, allocations: 27.92 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2481, allocations: 0 / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.2482, allocations: 98.27 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2482, allocations: 0 / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002501/0.2484, allocations: 23.84 kB / 0.7891 GB, free: 7.32 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.0007616/0.2492, allocations: 0.7709 MB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.2496, allocations: 104.5 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2496, allocations: 0 / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.2499, allocations: 63.94 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2502, allocations: 15.88 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2526, allocations: 1.573 MB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2529, allocations: 0.6924 MB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.2529, allocations: 12 kB / 0.7922 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.253, allocations: 27.42 kB / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.253, allocations: 0 / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.2722, allocations: 2.727 MB / 0.7949 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.252, allocations: 6.125 kB / 0.7949 GB, free: 1.293 MB / 0.6075 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)