Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.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.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",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.001079/0.001079, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 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.99/1.99, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.794/1.794, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005399/0.0005401, allocations: 19.83 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3205, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003815/0.3244, allocations: 1.648 MB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.3273, allocations: 1.02 MB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.3275, allocations: 7.938 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.3279, allocations: 135.6 kB / 0.79 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.3283, allocations: 135.6 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.329, allocations: 158.5 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.3294, allocations: 195.5 kB / 0.7905 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3296, allocations: 40.38 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.3299, allocations: 131.5 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3301, allocations: 111.6 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3301, allocations: 4 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3303, allocations: 39.92 kB / 0.7908 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3304, allocations: 75.78 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.3305, allocations: 65.52 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.331, allocations: 291.5 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.331, allocations: 4 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.331, allocations: 0 / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.331, allocations: 0 / 0.7912 GB, free: 7.805 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001193/0.3322, allocations: 0.5718 MB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3323, allocations: 8.031 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.3323, allocations: 42.55 kB / 0.7918 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/0.3325, allocations: 39.47 kB / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.3332, allocations: 365.3 kB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3332, allocations: 4 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3332, allocations: 8 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.3336, allocations: 109.5 kB / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3336, allocations: 0 / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.3336, allocations: 4 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3336, allocations: 3.953 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.3339, allocations: 59.95 kB / 0.7924 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3351, allocations: 0.4925 MB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.3356, allocations: 130.7 kB / 0.793 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.3357, allocations: 11.98 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.336, allocations: 111.3 kB / 0.7931 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.3361, allocations: 3.938 kB / 0.7931 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007532/0.3368, allocations: 216.5 kB / 0.7933 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.3369, allocations: 55.41 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.338, allocations: 0.5017 MB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.338, allocations: 33.7 kB / 0.7939 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3382, allocations: 168.4 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.3383, allocations: 39.53 kB / 0.7941 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.3384, allocations: 8 kB / 0.7941 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3386, allocations: 342.8 kB / 0.7944 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3389, allocations: 108.4 kB / 0.7945 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.3392, allocations: 123.6 kB / 0.7946 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.3396, allocations: 112 kB / 0.7947 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3396, allocations: 0 / 0.7947 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008609/0.3405, allocations: 330 kB / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.3405, allocations: 10.81 kB / 0.795 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3405, allocations: 0 / 0.795 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3406, allocations: 0 / 0.795 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.3409, allocations: 51.91 kB / 0.7951 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.341, allocations: 8.062 kB / 0.7951 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.3412, allocations: 19.83 kB / 0.7951 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.3413, allocations: 16 kB / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002539/0.3415, allocations: 181.7 kB / 0.7953 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.3416, allocations: 31.58 kB / 0.7953 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-05/0.3417, allocations: 43.11 kB / 0.7954 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3417, allocations: 0 / 0.7954 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3417, allocations: 4 kB / 0.7954 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3417, allocations: 4 kB / 0.7954 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.3422, allocations: 293.4 kB / 0.7957 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3422, allocations: 4 kB / 0.7957 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3423, allocations: 12 kB / 0.7957 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3423, allocations: 3.953 kB / 0.7957 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3423, allocations: 7.984 kB / 0.7957 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3424, allocations: 0 / 0.7957 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3424, allocations: 0 / 0.7957 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.3429, allocations: 212.5 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3431, allocations: 120.7 kB / 0.796 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.3431, allocations: 7.953 kB / 0.796 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3433, allocations: 11.92 kB / 0.796 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.3434, allocations: 19.97 kB / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3434, allocations: 4 kB / 0.7961 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005245/0.3439, allocations: 315.1 kB / 0.7964 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.344, allocations: 0 / 0.7964 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005119/0.3445, allocations: 67.92 kB / 0.7964 GB, free: 2.105 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: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002496/0.347, allocations: 1.058 MB / 0.7975 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.3476, allocations: 191.9 kB / 0.7976 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3476, allocations: 0 / 0.7976 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.3479, allocations: 59.91 kB / 0.7977 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.3485, allocations: 87.86 kB / 0.7978 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3505, allocations: 1.166 MB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.3511, allocations: 0.7908 MB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.3514, allocations: 54.94 kB / 0.7997 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.3516, allocations: 107.4 kB / 0.7998 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.3516, allocations: 0 / 0.7998 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.378, allocations: 6.785 MB / 0.8065 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.3784, allocations: 220.1 kB / 0.8067 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.463, allocations: 4.062 kB / 0.8067 GB, free: 7.797 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1) Environment - environmentSimulation: