Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002112/0.002112, allocations: 183.2 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.703/2.703, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008871/0.0008867, allocations: 96.09 kB / 0.6813 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.000583, allocations: 19.84 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2194, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001543/0.221, allocations: 1.037 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004212/0.2215, allocations: 181.5 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.2215, allocations: 0 / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.2216, allocations: 4 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.2217, allocations: 7.922 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.2218, allocations: 4 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.2219, allocations: 31.86 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.222, allocations: 8 kB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.222, allocations: 7.984 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.2221, allocations: 15.92 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2221, allocations: 0 / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.2221, allocations: 8 kB / 0.9003 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2222, allocations: 3.984 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.2222, allocations: 33.64 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.335e-05/0.2223, allocations: 19.95 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2223, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2223, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2223, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000449/0.2228, allocations: 343.7 kB / 0.9007 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2228, allocations: 16.02 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.2229, allocations: 4.844 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.223, allocations: 164.4 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.223, allocations: 384 / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.223, allocations: 4.359 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2232, allocations: 50.19 kB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2232, allocations: 192 / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2232, allocations: 7.875 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2232, allocations: 3.938 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.2233, allocations: 19.98 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2236, allocations: 253 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.2241, allocations: 94.45 kB / 0.9013 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.2242, allocations: 12.92 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2242, allocations: 7.938 kB / 0.9013 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.2244, allocations: 55.48 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.2244, allocations: 4 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.2246, allocations: 61.59 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.2247, allocations: 51.41 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.2247, allocations: 109.8 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2248, allocations: 29.64 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.2248, allocations: 88.14 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.2248, allocations: 7.891 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2248, allocations: 0 / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.2249, allocations: 322.8 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.2249, allocations: 12 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.225, allocations: 17.72 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.225, allocations: 4 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.225, allocations: 7.938 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001091/0.2252, allocations: 57.62 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2252, allocations: 4 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2252, allocations: 0 / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2252, allocations: 32 / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.2253, allocations: 11.98 kB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2253, allocations: 4 kB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.2254, allocations: 4 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.2254, allocations: 0 / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.763e-05/0.2255, allocations: 117.8 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.2255, allocations: 7.906 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.2255, allocations: 11.89 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2255, allocations: 4.234 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2256, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2256, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.2257, allocations: 173.5 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2257, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.2257, allocations: 15.81 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2258, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.2258, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2258, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2258, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.2259, allocations: 81.06 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.226, allocations: 89.02 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.226, allocations: 3.984 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.2261, allocations: 4 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.2261, allocations: 7.984 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2261, allocations: 0 / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.2262, allocations: 87.66 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2262, allocations: 0 / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002259/0.2264, allocations: 8 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booToInt.y,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.762e-05/0.2265, allocations: 103.2 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2267, allocations: 24 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2267, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.2267, allocations: 11.98 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.227, allocations: 15.88 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.2273, allocations: 142.5 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2275, allocations: 0.6809 MB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.2275, allocations: 4 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.2275, allocations: 7.438 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2275, allocations: 0 / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.002943/0.2305, allocations: 476.1 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)