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.0007119/0.000712, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007861/0.0007864, allocations: 172.7 kB / 15.95 MB, free: 208 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.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.746/1.746, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005723/0.0005723, allocations: 16.97 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2452, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002195/0.2474, allocations: 1.656 MB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2489, allocations: 1.047 MB / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2491, allocations: 4 kB / 0.7901 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.2494, allocations: 151.6 kB / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.2497, allocations: 119.5 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.2501, allocations: 152.5 kB / 0.7905 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.2504, allocations: 267.2 kB / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2505, allocations: 44.3 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2507, allocations: 123.5 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2509, allocations: 119.5 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2509, allocations: 4 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.251, allocations: 55.91 kB / 0.791 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2511, allocations: 75.73 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.2512, allocations: 69.52 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.2515, allocations: 283.5 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2515, allocations: 4 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2515, allocations: 0 / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2515, allocations: 0 / 0.7915 GB, free: 7.652 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.0007734/0.2523, allocations: 0.5719 MB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2523, allocations: 8.031 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.2524, allocations: 42.55 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.2525, allocations: 39.48 kB / 0.7921 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.2529, allocations: 361.2 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2529, allocations: 4 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.253, allocations: 8 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2532, allocations: 105.6 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2532, allocations: 0 / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2532, allocations: 8 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2532, allocations: 3.953 kB / 0.7926 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.2534, allocations: 59.91 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/0.2541, allocations: 496.4 kB / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.2544, allocations: 150.6 kB / 0.7932 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2545, allocations: 44.83 kB / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2546, allocations: 4 kB / 0.7933 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.2548, allocations: 112 kB / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2548, allocations: 0 / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004859/0.2553, allocations: 228.6 kB / 0.7936 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2553, allocations: 55.39 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.2558, allocations: 0.5092 MB / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2559, allocations: 29.7 kB / 0.7942 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.256, allocations: 156.5 kB / 0.7943 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.256, allocations: 43.53 kB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.2561, allocations: 8 kB / 0.7944 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2562, allocations: 350.8 kB / 0.7947 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.2564, allocations: 96.52 kB / 0.7948 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2566, allocations: 131.6 kB / 0.7949 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.2568, allocations: 104 kB / 0.795 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2568, allocations: 4 kB / 0.795 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004829/0.2573, allocations: 334 kB / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2573, allocations: 7.984 kB / 0.7954 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2573, allocations: 0 / 0.7954 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2573, allocations: 4 kB / 0.7954 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2575, allocations: 51.97 kB / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2576, allocations: 3.938 kB / 0.7954 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2577, allocations: 23.84 kB / 0.7955 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.2577, allocations: 12.05 kB / 0.7955 GB, free: 3.309 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.0001939/0.2579, allocations: 188.6 kB / 0.7956 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.258, allocations: 35.58 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.2581, allocations: 35.12 kB / 0.7957 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2581, allocations: 7.938 kB / 0.7957 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2581, allocations: 0 / 0.7957 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2581, allocations: 0 / 0.7957 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.2584, allocations: 301.4 kB / 0.796 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2584, allocations: 0 / 0.796 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.2585, allocations: 15.98 kB / 0.796 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2585, allocations: 7.953 kB / 0.796 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2585, allocations: 4 kB / 0.796 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2585, allocations: 0 / 0.796 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2585, allocations: 0 / 0.796 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.2589, allocations: 200.6 kB / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.259, allocations: 124.7 kB / 0.7963 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.2591, allocations: 3.953 kB / 0.7963 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.2592, allocations: 19.92 kB / 0.7964 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.2593, allocations: 15.98 kB / 0.7964 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2593, allocations: 11.98 kB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003117/0.2596, allocations: 311.1 kB / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2596, allocations: 0 / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002894/0.2599, allocations: 56 kB / 0.7967 GB, free: 1.906 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.001405/0.2613, allocations: 1.056 MB / 0.7978 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.2617, allocations: 191.8 kB / 0.798 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2617, allocations: 0 / 0.798 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2619, allocations: 56.72 kB / 0.798 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.2623, allocations: 81.52 kB / 0.7981 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.2652, allocations: 2.071 MB / 0.8001 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.2655, allocations: 0.7908 MB / 0.8009 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000161/0.2657, allocations: 58.94 kB / 0.8009 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.2659, allocations: 107.4 kB / 0.801 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of SimCode: time 6.62e-07/0.2659, allocations: 0 / 0.801 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.285, allocations: 6.98 MB / 0.8079 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.2852, allocations: 233 kB / 0.8081 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.182, allocations: 0 / 0.8081 GB, free: 6.504 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: