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.001282/0.001281, allocations: 108 kB / 15.6 MB, free: 132 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.001196/0.001196, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.489/1.489, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.782/1.782, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001475/0.001475, allocations: 70.98 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2639, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002399/0.2663, allocations: 0.779 MB / 0.7843 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2674, allocations: 0.8671 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.2674, allocations: 0 / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.2675, allocations: 7.875 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.2676, allocations: 11.86 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.2678, allocations: 39.95 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2679, allocations: 91.77 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.268, allocations: 24.22 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.2681, allocations: 39.89 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.2682, allocations: 47.77 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.2682, allocations: 8 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.2683, allocations: 12 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.2683, allocations: 23.97 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.2684, allocations: 39.78 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.2685, allocations: 91.94 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2685, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2685, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2686, allocations: 0 / 0.7855 GB, free: 11.31 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.0006935/0.2692, allocations: 397.7 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2693, allocations: 12.03 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.2693, allocations: 38.69 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.2694, allocations: 8.844 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.2696, allocations: 184.2 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2696, allocations: 384 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2696, allocations: 8.375 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2699, allocations: 106.2 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2699, allocations: 3.938 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.27, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.27, allocations: 4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.2703, allocations: 107.8 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.2709, allocations: 356.6 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.2715, allocations: 114.6 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2718, allocations: 56.8 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2718, allocations: 4 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.2718, allocations: 34.56 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2718, allocations: 0 / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007105/0.2725, allocations: 181.5 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2726, allocations: 51.41 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2727, allocations: 141.7 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.2728, allocations: 25.7 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.2728, allocations: 104 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2729, allocations: 11.72 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.2729, allocations: 29.7 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2731, allocations: 318.8 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.2733, allocations: 47.95 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2735, allocations: 52.27 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.2739, allocations: 96.92 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2739, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004317/0.2744, allocations: 141.6 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2744, allocations: 4 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2744, allocations: 0 / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2744, allocations: 7.938 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2746, allocations: 23.97 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2746, allocations: 0 / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2748, allocations: 19.83 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2748, allocations: 7.984 kB / 0.7881 GB, free: 8.434 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 0.0001087/0.2749, allocations: 117.8 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.2749, allocations: 4 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.275, allocations: 12.38 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.275, allocations: 4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.275, allocations: 0 / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.275, allocations: 0 / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2752, allocations: 201.5 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2752, allocations: 4 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.2754, allocations: 27.97 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2754, allocations: 0 / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2754, allocations: 3.984 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2754, allocations: 3.938 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2755, allocations: 0 / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.276, allocations: 243.3 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.276, allocations: 81.11 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2761, allocations: 0 / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2762, allocations: 15.98 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.2763, allocations: 27.95 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.2763, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.2764, allocations: 106.2 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2764, allocations: 0 / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002393/0.2766, allocations: 19.84 kB / 0.7889 GB, free: 7.488 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.0008335/0.2775, allocations: 0.7747 MB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.2779, allocations: 107.9 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2779, allocations: 3.938 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2782, allocations: 59.95 kB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2785, allocations: 15.92 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2808, allocations: 1.567 MB / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2811, allocations: 0.6885 MB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.393e-05/0.2812, allocations: 12 kB / 0.7921 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.2813, allocations: 35.36 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2813, allocations: 0 / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3023, allocations: 2.688 MB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.192, allocations: 10.16 kB / 0.7947 GB, free: 1.477 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)