Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 106.6 kB / 16.36 MB, free: 6.43 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.00188/0.00188, allocations: 196.4 kB / 17.3 MB, free: 5.801 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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001583/0.001583, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2174, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0025/0.22, allocations: 0.619 MB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2215, allocations: 1.113 MB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.2216, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.2216, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.2217, allocations: 7.938 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.2223, allocations: 130.8 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.2225, allocations: 103.7 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.2226, allocations: 8 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.2227, allocations: 27.98 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2228, allocations: 35.88 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.2228, allocations: 8 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.2229, allocations: 23.98 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.2229, allocations: 7.938 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.223, allocations: 35.91 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2232, allocations: 87.78 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2232, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2232, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2232, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004506/0.2236, allocations: 373.1 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2237, allocations: 8.031 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.2237, allocations: 4.938 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2239, allocations: 180.2 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2239, allocations: 12.36 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.2239, allocations: 4.375 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.224, allocations: 38.25 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.224, allocations: 192 / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.224, allocations: 3.938 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.224, allocations: 4 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.2241, allocations: 4 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4376/0.6617, allocations: 289.1 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.6619, allocations: 34.88 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.6619, allocations: 15 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.6619, allocations: 1.875 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.6622, allocations: 58.91 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.6622, allocations: 0 / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002366/0.6624, allocations: 77.33 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.6625, allocations: 51.41 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.6626, allocations: 111.5 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.6626, allocations: 28.7 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.6626, allocations: 88.2 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.6627, allocations: 4.156 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.6627, allocations: 34.84 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.6628, allocations: 318.8 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.6629, allocations: 27.25 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.663, allocations: 53.42 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6631, allocations: 89.7 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6631, allocations: 0.6562 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002257/0.6633, allocations: 155.7 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.6634, allocations: 45.41 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6634, allocations: 0 / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6634, allocations: 0 / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.6635, allocations: 2.906 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6635, allocations: 3.094 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.6637, allocations: 32.05 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6637, allocations: 6.938 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.326e-05/0.6638, allocations: 114 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.6638, allocations: 10.78 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.6638, allocations: 10.67 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.6639, allocations: 0 / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6639, allocations: 2.75 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6639, allocations: 0 / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.476e-05/0.664, allocations: 161.6 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.664, allocations: 0.5938 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.664, allocations: 3.438 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.664, allocations: 6.75 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.664, allocations: 2.344 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.664, allocations: 2.906 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.664, allocations: 0 / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.677e-05/0.6641, allocations: 80.95 kB / 0.7894 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.6642, allocations: 90.77 kB / 0.7895 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.6642, allocations: 3.562 kB / 0.7895 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.6642, allocations: 0.5 kB / 0.7895 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.6642, allocations: 6.562 kB / 0.7895 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.6643, allocations: 4.875 kB / 0.7895 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.6643, allocations: 88.83 kB / 0.7896 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6643, allocations: 2.188 kB / 0.7896 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002157/0.6645, allocations: 15.75 kB / 0.7896 GB, free: 47.26 MB / 0.6544 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,$whenCondition2,booToInt.y,booPul.y) * 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 (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.0001392/0.6647, allocations: 101.7 kB / 0.7897 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.6649, allocations: 133.2 kB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6649, allocations: 0 / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.665, allocations: 12.44 kB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.6652, allocations: 10.72 kB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.6655, allocations: 133.7 kB / 0.79 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.6656, allocations: 0.6817 MB / 0.7906 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.6656, allocations: 2.719 kB / 0.7906 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.6656, allocations: 10.34 kB / 0.7906 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6656, allocations: 0.6875 kB / 0.7906 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.003365/0.669, allocations: 1.066 MB / 0.7917 GB, free: 46.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)