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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.7 MB / 302.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001012, allocations: 180.7 kB / 371.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008477/0.0008478, allocations: 94.53 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.667e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3122, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.321, allocations: 142.5 MB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.321, allocations: 77.72 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02714/1.349, allocations: 10.82 MB / 1.13 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.575e-06/1.349, allocations: 0 / 1.13 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.178e-05/1.349, allocations: 12.42 kB / 1.13 GB, free: 36.43 MB / 0.7448 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.0008734/1.35, allocations: 0.5371 MB / 1.13 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.123e-05/1.35, allocations: 12.03 kB / 1.13 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/1.35, allocations: 37.73 kB / 1.13 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/1.35, allocations: 34 kB / 1.13 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/1.351, allocations: 397.7 kB / 1.131 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.351, allocations: 11.47 kB / 1.131 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/1.351, allocations: 6.938 kB / 1.131 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/1.351, allocations: 110.9 kB / 1.131 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.351, allocations: 0 / 1.131 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.351, allocations: 7.312 kB / 1.131 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.351, allocations: 0.6562 kB / 1.131 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/1.351, allocations: 59.48 kB / 1.131 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/1.352, allocations: 0.5139 MB / 1.131 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/1.352, allocations: 129.1 kB / 1.132 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/1.353, allocations: 49.38 kB / 1.132 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/1.353, allocations: 7.938 kB / 1.132 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/1.353, allocations: 111.6 kB / 1.132 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/1.353, allocations: 0 / 1.132 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003652/1.353, allocations: 187.3 kB / 1.132 GB, free: 34.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/1.353, allocations: 51.41 kB / 1.132 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/1.354, allocations: 471.4 kB / 1.132 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.354, allocations: 29.7 kB / 1.132 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.354, allocations: 168.2 kB / 1.133 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/1.354, allocations: 45.7 kB / 1.133 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/1.354, allocations: 3.625 kB / 1.133 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.354, allocations: 351.3 kB / 1.133 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/1.354, allocations: 114.9 kB / 1.133 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/1.354, allocations: 152.2 kB / 1.133 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/1.355, allocations: 123.2 kB / 1.133 GB, free: 33.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.355, allocations: 4 kB / 1.133 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004933/1.355, allocations: 349.6 kB / 1.134 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.355, allocations: 8 kB / 1.134 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.355, allocations: 224 / 1.134 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.355, allocations: 4.578 kB / 1.134 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.355, allocations: 58.72 kB / 1.134 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.355, allocations: 4.703 kB / 1.134 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/1.356, allocations: 22.91 kB / 1.134 GB, free: 33.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/1.356, allocations: 11.48 kB / 1.134 GB, free: 33.16 MB / 0.7448 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.u1,product.u2,product.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 () * 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 8.203e-05/1.356, allocations: 127.4 kB / 1.134 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/1.356, allocations: 35 kB / 1.134 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/1.356, allocations: 198.9 kB / 1.134 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.356, allocations: 4 kB / 1.134 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.356, allocations: 4.703 kB / 1.134 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.356, allocations: 0 / 1.134 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/1.356, allocations: 308.2 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.356, allocations: 8.688 kB / 1.134 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/1.357, allocations: 19.42 kB / 1.134 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.357, allocations: 0 / 1.134 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.357, allocations: 0 / 1.134 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/1.357, allocations: 4 kB / 1.134 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.357, allocations: 1.25 kB / 1.134 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/1.357, allocations: 213.9 kB / 1.135 GB, free: 32.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/1.357, allocations: 118.9 kB / 1.135 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/1.357, allocations: 14.95 kB / 1.135 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.357, allocations: 6.812 kB / 1.135 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/1.357, allocations: 21.92 kB / 1.135 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/1.357, allocations: 10.2 kB / 1.135 GB, free: 32.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003106/1.358, allocations: 314.2 kB / 1.135 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.358, allocations: 0 / 1.135 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003402/1.358, allocations: 79.72 kB / 1.135 GB, free: 31.98 MB / 0.7448 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.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001347/1.359, allocations: 1.044 MB / 1.136 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003055/1.36, allocations: 191.8 kB / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.36, allocations: 0 / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/1.36, allocations: 65.22 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/1.36, allocations: 77.66 kB / 1.137 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/1.361, allocations: 0.5272 MB / 1.137 GB, free: 30.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/1.361, allocations: 0.7937 MB / 1.138 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001825/1.362, allocations: 59.62 kB / 1.138 GB, free: 29.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.362, allocations: 105.8 kB / 1.138 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.663e-06/1.362, allocations: 0 / 1.138 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/1.386, allocations: 7.079 MB / 1.145 GB, free: 25.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.387, allocations: 194 kB / 1.145 GB, free: 25.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/3.606, allocations: 8 kB / 1.145 GB, free: 25.23 MB / 0.7448 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)