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.000791/0.0007909, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008652/0.0008652, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.647/1.647, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0004945/0.0004946, allocations: 17.19 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 116.3 MB / 0.7874 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001059/0.2483, allocations: 493.3 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.2492, allocations: 0.8566 MB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.2493, allocations: 4 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.2493, allocations: 3.938 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.2494, allocations: 7.938 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.2495, allocations: 31.91 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2496, allocations: 79.75 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.2497, allocations: 20.22 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.2498, allocations: 27.91 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.2499, allocations: 43.81 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2499, allocations: 8 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.2499, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.25, allocations: 15.92 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.25, allocations: 37.64 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.2501, allocations: 59.84 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2501, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2501, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.2501, allocations: 0 / 0.7891 GB, free: 10.09 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.0005432/0.2507, allocations: 403.3 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2507, allocations: 8.031 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.2508, allocations: 38.56 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2508, allocations: 11.81 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.251, allocations: 175 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.251, allocations: 7.938 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.251, allocations: 8 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.2513, allocations: 116.6 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2513, allocations: 3.938 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2514, allocations: 3.984 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2514, allocations: 0 / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.2518, allocations: 119.9 kB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.2524, allocations: 352.6 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.2529, allocations: 130.6 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2531, allocations: 64.81 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2532, allocations: 4 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2532, allocations: 34.56 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2532, allocations: 0 / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006037/0.2538, allocations: 225.3 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2539, allocations: 51.41 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.254, allocations: 134 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.254, allocations: 29.7 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.254, allocations: 99.92 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.2541, allocations: 15.8 kB / 0.791 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.2541, allocations: 4 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2543, allocations: 314.8 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2544, allocations: 55.95 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2546, allocations: 59.94 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2548, allocations: 59.97 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2548, allocations: 0 / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003774/0.2552, allocations: 157.4 kB / 0.7916 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2552, allocations: 4 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2552, allocations: 4 kB / 0.7916 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2552, allocations: 3.953 kB / 0.7916 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2554, allocations: 35.97 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2554, allocations: 0.5469 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2555, allocations: 23.83 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2555, allocations: 7.984 kB / 0.7917 GB, free: 7.156 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 (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 0.000211/0.2557, allocations: 113.8 kB / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.2558, allocations: 4 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.2558, allocations: 12.38 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2558, allocations: 3.953 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.2558, allocations: 4 kB / 0.7918 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2558, allocations: 3.938 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.256, allocations: 209.5 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.256, allocations: 0 / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2562, allocations: 27.97 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2562, allocations: 8 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2562, allocations: 3.984 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2562, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2562, allocations: 7.891 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.2567, allocations: 255.4 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2568, allocations: 85.02 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2568, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.257, allocations: 23.92 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.257, allocations: 19.97 kB / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-06/0.2571, allocations: 11.89 kB / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.2571, allocations: 95.27 kB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2571, allocations: 0 / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002213/0.2573, allocations: 19.91 kB / 0.7926 GB, free: 6.172 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 (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.00103/0.2584, allocations: 0.7905 MB / 0.7933 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.2588, allocations: 127.8 kB / 0.7935 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2588, allocations: 0 / 0.7935 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.259, allocations: 71.94 kB / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2594, allocations: 14.97 kB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2607, allocations: 0.6758 MB / 0.7942 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.261, allocations: 0.6926 MB / 0.7949 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.502e-05/0.2611, allocations: 12.17 kB / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.2612, allocations: 27.42 kB / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2612, allocations: 0 / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.2739, allocations: 2.286 MB / 0.7971 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.2741, allocations: 188.5 kB / 0.7973 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.015, allocations: 4.062 kB / 0.7973 GB, free: 1.266 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/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) Environment - environmentSimulation: