Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.709/2.709, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001516/0.001516, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 94.17 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005103, allocations: 17.44 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.244, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9646/1.209, allocations: 141.5 MB / 1.116 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.209, allocations: 82.34 kB / 1.117 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04386/1.253, allocations: 10.85 MB / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.253, allocations: 0 / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.605e-05/1.253, allocations: 11.69 kB / 1.127 GB, free: 30.82 MB / 0.698 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.001329/1.254, allocations: 0.6125 MB / 1.128 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.254, allocations: 11.7 kB / 1.128 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/1.254, allocations: 41.25 kB / 1.128 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/1.255, allocations: 34.91 kB / 1.128 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.256, allocations: 406.3 kB / 1.128 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.256, allocations: 7.797 kB / 1.128 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/1.256, allocations: 11.62 kB / 1.128 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/1.256, allocations: 104.6 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.256, allocations: 7.984 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/1.256, allocations: 0 / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.256, allocations: 3.812 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/1.256, allocations: 70 kB / 1.128 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/1.258, allocations: 0.5213 MB / 1.129 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/1.258, allocations: 138.3 kB / 1.129 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/1.258, allocations: 224 / 1.129 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/1.258, allocations: 117.4 kB / 1.129 GB, free: 29.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/1.258, allocations: 4 kB / 1.129 GB, free: 29.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0008213/1.259, allocations: 235.7 kB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.259, allocations: 55.39 kB / 1.129 GB, free: 29.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/1.26, allocations: 481.4 kB / 1.13 GB, free: 29.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/1.26, allocations: 25.7 kB / 1.13 GB, free: 29.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.26, allocations: 173.2 kB / 1.13 GB, free: 28.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/1.26, allocations: 35.08 kB / 1.13 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/1.26, allocations: 3.688 kB / 1.13 GB, free: 28.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.261, allocations: 350 kB / 1.13 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/1.261, allocations: 120.6 kB / 1.131 GB, free: 28.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/1.261, allocations: 153.2 kB / 1.131 GB, free: 28.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/1.262, allocations: 129 kB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.262, allocations: 0 / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009266/1.263, allocations: 373.5 kB / 1.131 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.263, allocations: 11.28 kB / 1.131 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.263, allocations: 3.938 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.263, allocations: 3.953 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/1.263, allocations: 53.78 kB / 1.131 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.263, allocations: 3.984 kB / 1.131 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/1.264, allocations: 19.5 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/1.264, allocations: 18.58 kB / 1.131 GB, free: 28.43 MB / 0.698 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 () * 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.0002936/1.264, allocations: 181.3 kB / 1.131 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/1.264, allocations: 38.34 kB / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/1.265, allocations: 202.3 kB / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.265, allocations: 3.812 kB / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.265, allocations: 3.953 kB / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.265, allocations: 0 / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/1.265, allocations: 309.8 kB / 1.132 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.265, allocations: 4 kB / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/1.265, allocations: 19.23 kB / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.265, allocations: 0 / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/1.265, allocations: 3.969 kB / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.265, allocations: 0 / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.265, allocations: 0 / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/1.266, allocations: 233.2 kB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.266, allocations: 119.8 kB / 1.132 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/1.266, allocations: 3 kB / 1.132 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/1.266, allocations: 11.86 kB / 1.132 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/1.266, allocations: 22.22 kB / 1.132 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/1.266, allocations: 3.812 kB / 1.132 GB, free: 27.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005339/1.267, allocations: 325.6 kB / 1.133 GB, free: 27.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.267, allocations: 0 / 1.133 GB, free: 27.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004789/1.268, allocations: 78.55 kB / 1.133 GB, free: 27.56 MB / 0.698 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) * Number of clocked states: 0 () * 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.002122/1.27, allocations: 1.092 MB / 1.134 GB, free: 26.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007013/1.27, allocations: 199.2 kB / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.27, allocations: 3.875 kB / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/1.271, allocations: 73.72 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/1.271, allocations: 77.17 kB / 1.134 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.273, allocations: 1.223 MB / 1.135 GB, free: 25.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/1.274, allocations: 0.7953 MB / 1.136 GB, free: 25.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003117/1.274, allocations: 57.8 kB / 1.136 GB, free: 25.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/1.274, allocations: 108.4 kB / 1.136 GB, free: 25.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.274, allocations: 0 / 1.136 GB, free: 25.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/1.305, allocations: 7.021 MB / 1.143 GB, free: 21.72 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.306, allocations: 221.3 kB / 1.143 GB, free: 21.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/4.149, allocations: 0 / 1.143 GB, free: 21.49 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)