Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 178.5 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 90.36 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 12.7 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2207, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001473/0.2222, allocations: 1.029 MB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.2226, allocations: 185.6 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.2227, allocations: 4 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2227, allocations: 0 / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.2228, allocations: 3.938 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.2229, allocations: 11.98 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.223, allocations: 23.92 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.2231, allocations: 11.97 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.2231, allocations: 11.94 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.2232, allocations: 11.92 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2232, allocations: 4 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.2232, allocations: 4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2233, allocations: 4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.2233, allocations: 33.64 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.943e-05/0.2234, allocations: 19.95 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2234, allocations: 0 / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2234, allocations: 0 / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2234, allocations: 0 / 0.9022 GB, free: 62.53 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.0004241/0.2238, allocations: 348 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2239, allocations: 12.03 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.2239, allocations: 3.906 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.224, allocations: 175 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.224, allocations: 3.938 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2241, allocations: 4 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.2242, allocations: 37.69 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2242, allocations: 3.938 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2242, allocations: 0 / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.2242, allocations: 0 / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.2242, allocations: 19.94 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.2246, allocations: 256.9 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.225, allocations: 94.5 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.225, allocations: 12.92 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.225, allocations: 0 / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.2252, allocations: 55.44 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2252, allocations: 4 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.2254, allocations: 65.58 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2254, allocations: 59.39 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.2255, allocations: 109.8 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.2255, allocations: 29.7 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.2255, allocations: 84.14 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.2255, allocations: 3.906 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.2256, allocations: 0 / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.2256, allocations: 318.8 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.2256, allocations: 15.92 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.2257, allocations: 21.97 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.2257, allocations: 8 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2257, allocations: 4 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.508e-05/0.2258, allocations: 53.69 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2258, allocations: 7.938 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2258, allocations: 0 / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2258, allocations: 4 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.913e-05/0.2259, allocations: 4.031 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2259, allocations: 4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.226, allocations: 12.12 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.226, allocations: 3.953 kB / 0.9039 GB, free: 60.5 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 7.071e-05/0.226, allocations: 119.8 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.2261, allocations: 7.984 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2261, allocations: 3.906 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2261, allocations: 4 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2261, allocations: 3.984 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2261, allocations: 0 / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2262, allocations: 173.5 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2263, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.2263, allocations: 7.984 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2263, allocations: 0 / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2263, allocations: 0 / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2263, allocations: 0 / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2263, allocations: 0 / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.247e-05/0.2264, allocations: 89.02 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.2264, allocations: 81.02 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2265, allocations: 0 / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.2265, allocations: 7.984 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.2266, allocations: 11.98 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2266, allocations: 0 / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.2266, allocations: 87.28 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2266, allocations: 0 / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001734/0.2268, allocations: 8 kB / 0.9045 GB, free: 59.81 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.855e-05/0.2269, allocations: 101.5 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.227, allocations: 23.92 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.227, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.227, allocations: 12 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2273, allocations: 19.94 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.2275, allocations: 160.3 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2277, allocations: 0.677 MB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.2277, allocations: 15.38 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2277, allocations: 0 / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.001922/0.2296, allocations: 0.6709 MB / 0.9061 GB, free: 58.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)