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.001149/0.001149, allocations: 109.4 kB / 15.69 MB, free: 128 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.001304/0.001304, allocations: 185.4 kB / 16.62 MB, free: 6.582 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.831/1.831, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00146/0.00146, allocations: 68.83 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2521, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003737/0.2559, allocations: 1.994 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.258, allocations: 1.098 MB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.2582, allocations: 7.938 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.2587, allocations: 167.4 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.2592, allocations: 159.3 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.2597, allocations: 178.8 kB / 0.7872 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.2601, allocations: 323.2 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2603, allocations: 48.66 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.2605, allocations: 143.5 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.2607, allocations: 151.4 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.2607, allocations: 16 kB / 0.7878 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.2609, allocations: 55.95 kB / 0.7879 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.261, allocations: 79.75 kB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2611, allocations: 127.1 kB / 0.7881 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.2616, allocations: 366.7 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.2616, allocations: 0 / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.497e-06/0.2616, allocations: 4 kB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2616, allocations: 0 / 0.7884 GB, free: 8.336 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.001077/0.2627, allocations: 0.6263 MB / 0.789 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.2628, allocations: 15.97 kB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.2628, allocations: 38.75 kB / 0.7891 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.2629, allocations: 36.45 kB / 0.7891 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.2634, allocations: 362.6 kB / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.2635, allocations: 12.11 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.2635, allocations: 11.94 kB / 0.7895 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2638, allocations: 109.5 kB / 0.7896 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2638, allocations: 0 / 0.7896 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2638, allocations: 4 kB / 0.7896 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2638, allocations: 4 kB / 0.7896 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.264, allocations: 58.45 kB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.2648, allocations: 0.4886 MB / 0.7901 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.2652, allocations: 142.7 kB / 0.7903 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2653, allocations: 44.83 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.2653, allocations: 7.938 kB / 0.7903 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.2656, allocations: 111.3 kB / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2656, allocations: 0 / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005136/0.2661, allocations: 226.5 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2662, allocations: 55.41 kB / 0.7907 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.2667, allocations: 0.5016 MB / 0.7912 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2667, allocations: 37.58 kB / 0.7912 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2669, allocations: 176.3 kB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.2669, allocations: 27.62 kB / 0.7914 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.267, allocations: 73.95 kB / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2671, allocations: 346.8 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2673, allocations: 100.5 kB / 0.7919 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2675, allocations: 131.6 kB / 0.792 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.2678, allocations: 190.5 kB / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2678, allocations: 0 / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005198/0.2684, allocations: 317.1 kB / 0.7925 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2684, allocations: 7.984 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2684, allocations: 4 kB / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2684, allocations: 3.938 kB / 0.7925 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2687, allocations: 51.97 kB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2687, allocations: 3.938 kB / 0.7926 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2688, allocations: 23.91 kB / 0.7926 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.2689, allocations: 11.98 kB / 0.7926 GB, free: 3.781 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.2691, allocations: 181.8 kB / 0.7928 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.2691, allocations: 35.56 kB / 0.7928 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.2692, allocations: 39.11 kB / 0.7929 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2692, allocations: 7.938 kB / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2692, allocations: 0 / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2692, allocations: 0 / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.2695, allocations: 305.4 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2695, allocations: 0 / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.2696, allocations: 11.98 kB / 0.7932 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2696, allocations: 4 kB / 0.7932 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2696, allocations: 4 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2696, allocations: 7.875 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2696, allocations: 0 / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.27, allocations: 215.6 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.2701, allocations: 116.6 kB / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.2702, allocations: 11.98 kB / 0.7935 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.2703, allocations: 3.938 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.2703, allocations: 19.97 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2704, allocations: 8 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003393/0.2707, allocations: 319.1 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2707, allocations: 0 / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003029/0.271, allocations: 52 kB / 0.7939 GB, free: 2.371 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 (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.001533/0.2726, allocations: 1.059 MB / 0.7949 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.273, allocations: 196.1 kB / 0.7951 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.273, allocations: 3.938 kB / 0.7951 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2732, allocations: 68.02 kB / 0.7952 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.2736, allocations: 91.16 kB / 0.7953 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.2774, allocations: 3.113 MB / 0.7983 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2777, allocations: 0.7831 MB / 0.7991 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.2779, allocations: 58.94 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2781, allocations: 111.4 kB / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of SimCode: time 6.42e-07/0.2781, allocations: 0 / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.3022, allocations: 7.059 MB / 0.8061 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.151, allocations: 4.594 kB / 0.8061 GB, free: 6.004 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/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)