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.001428/0.001428, allocations: 103.6 kB / 16.36 MB, free: 6.309 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.001558/0.001558, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.854/1.854, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001432/0.001432, allocations: 72.41 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002079/0.2348, allocations: 0.631 MB / 0.7854 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2361, allocations: 1.106 MB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.2362, allocations: 0 / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.2362, allocations: 0 / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.2363, allocations: 7.938 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.2368, allocations: 122.3 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.237, allocations: 95.81 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.2371, allocations: 11.98 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.2371, allocations: 31.92 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2372, allocations: 31.89 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2373, allocations: 8 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.2373, allocations: 31.97 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.2374, allocations: 11.94 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.2374, allocations: 23.92 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2376, allocations: 87.78 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2376, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2376, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2376, allocations: 0 / 0.7869 GB, free: 0.9453 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.0004481/0.2381, allocations: 381.1 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2381, allocations: 8.031 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.522e-05/0.2382, allocations: 4.938 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2383, allocations: 172.3 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2383, allocations: 4.375 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.2383, allocations: 8.312 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.2384, allocations: 38.25 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2385, allocations: 192 / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2385, allocations: 7.875 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2385, allocations: 4 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.2385, allocations: 11.98 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4965/0.735, allocations: 287.8 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.7352, allocations: 29.8 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.7352, allocations: 9.281 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.7353, allocations: 0.75 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.7354, allocations: 73.05 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.7355, allocations: 0 / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002487/0.7357, allocations: 73 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.7358, allocations: 51.41 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.7358, allocations: 106 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.7359, allocations: 32.48 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.7359, allocations: 88.14 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.736, allocations: 13.2 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.736, allocations: 32.2 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.7361, allocations: 315.3 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.7362, allocations: 33.81 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.7363, allocations: 50.47 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.426e-05/0.7364, allocations: 84.67 kB / 0.7888 GB, free: 48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7364, allocations: 2.938 kB / 0.7888 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002235/0.7366, allocations: 148.3 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.7367, allocations: 40 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7367, allocations: 3.375 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.7367, allocations: 2.625 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.7368, allocations: 6.797 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7368, allocations: 0 / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.737, allocations: 25.3 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.737, allocations: 9.422 kB / 0.789 GB, free: 47.9 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.908e-05/0.7371, allocations: 118.8 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.7371, allocations: 7.844 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.7372, allocations: 11.22 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7372, allocations: 1.844 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7372, allocations: 0 / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7372, allocations: 3.141 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.7373, allocations: 161.3 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7373, allocations: 0 / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.7373, allocations: 6.781 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7373, allocations: 5.219 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7374, allocations: 0 / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7374, allocations: 4.344 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7374, allocations: 4.031 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.7375, allocations: 83.77 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.7375, allocations: 87.58 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.7375, allocations: 1.625 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.7375, allocations: 0 / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.7376, allocations: 8.016 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.7376, allocations: 2.625 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.7376, allocations: 90.06 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7376, allocations: 2.188 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002058/0.7378, allocations: 17.16 kB / 0.7896 GB, free: 47.35 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.0001318/0.738, allocations: 97.75 kB / 0.7897 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.7382, allocations: 129 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7382, allocations: 0.625 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.7383, allocations: 20.55 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.7385, allocations: 9.422 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.7388, allocations: 161.9 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.7389, allocations: 0.6785 MB / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.7389, allocations: 10.34 kB / 0.7907 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.739, allocations: 0 / 0.7907 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.002883/0.7418, allocations: 0.9328 MB / 0.7916 GB, free: 46.35 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)