Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 174.3 kB / 25.18 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9146/0.9146, allocations: 177.2 MB / 205.6 MB, free: 4.344 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.932/1.932, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.7755 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.657e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001448/0.001475, allocations: 0.6689 MB / 0.7762 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002596, allocations: 1.158 MB / 0.7773 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.002632, allocations: 0 / 0.7773 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.00266, allocations: 0 / 0.7773 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.002724, allocations: 7.922 kB / 0.7773 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.003033, allocations: 115.6 kB / 0.7774 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.00315, allocations: 91.83 kB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.003212, allocations: 7.984 kB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.003286, allocations: 51.89 kB / 0.7776 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.003359, allocations: 23.97 kB / 0.7776 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.003377, allocations: 8 kB / 0.7776 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.003435, allocations: 19.98 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.003452, allocations: 7.984 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.003487, allocations: 31.91 kB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003598, allocations: 71.84 kB / 0.7777 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003599, allocations: 0 / 0.7777 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.0036, allocations: 0 / 0.7777 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003604, allocations: 0 / 0.7777 GB, free: 12.3 MB / 0.7448 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.0002736/0.003878, allocations: 274.6 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.003908, allocations: 19.95 kB / 0.778 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.003936, allocations: 8.938 kB / 0.778 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.688e-05/0.004003, allocations: 113.7 kB / 0.7781 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.004015, allocations: 384 / 0.7781 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.00403, allocations: 16.3 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.925e-05/0.004089, allocations: 46.95 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.004094, allocations: 192 / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.004099, allocations: 384 / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004103, allocations: 384 / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.004119, allocations: 7.938 kB / 0.7782 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.004309, allocations: 164.3 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/0.004342, allocations: 22.56 kB / 0.7784 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.029e-05/0.004353, allocations: 8.922 kB / 0.7784 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.004357, allocations: 0 / 0.7784 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.00442, allocations: 59.39 kB / 0.7784 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004421, allocations: 0 / 0.7784 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 9.533e-05/0.004516, allocations: 57.55 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.004544, allocations: 55.41 kB / 0.7786 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.00472, allocations: 110.7 kB / 0.7787 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.004733, allocations: 29.7 kB / 0.7787 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.004765, allocations: 96.08 kB / 0.7788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.004773, allocations: 7.953 kB / 0.7788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.004808, allocations: 25.69 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.004874, allocations: 322.8 kB / 0.7791 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.004915, allocations: 45.69 kB / 0.7792 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.004956, allocations: 68.25 kB / 0.7792 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.005011, allocations: 80.19 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005012, allocations: 0 / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.005121, allocations: 157 kB / 0.7795 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.005146, allocations: 37.7 kB / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005151, allocations: 0 / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.005158, allocations: 3.938 kB / 0.7795 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.005193, allocations: 4 kB / 0.7795 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.005196, allocations: 7.922 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.093e-05/0.005287, allocations: 23.98 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.005297, allocations: 4 kB / 0.7795 GB, free: 10.24 MB / 0.7448 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 5.223e-05/0.005349, allocations: 117.9 kB / 0.7796 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.005356, allocations: 3.984 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.005373, allocations: 8.234 kB / 0.7797 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.005376, allocations: 7.875 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.005377, allocations: 3.984 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005381, allocations: 0 / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.156e-05/0.005432, allocations: 77.81 kB / 0.7797 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005433, allocations: 0 / 0.7797 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.005439, allocations: 0 / 0.7797 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005441, allocations: 4 kB / 0.7797 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-06/0.005444, allocations: 0 / 0.7797 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005445, allocations: 4 kB / 0.7797 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005445, allocations: 0 / 0.7797 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.263e-05/0.005498, allocations: 80.98 kB / 0.7798 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.005503, allocations: 0 / 0.7798 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-06/0.005509, allocations: 0 / 0.7798 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.005517, allocations: 4 kB / 0.7798 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.005533, allocations: 0 / 0.7798 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005537, allocations: 7.922 kB / 0.7798 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.859e-06/0.005547, allocations: 8.859 kB / 0.7798 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005547, allocations: 0 / 0.7798 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001066/0.005653, allocations: 20 kB / 0.7799 GB, free: 9.852 MB / 0.7448 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 7.999e-05/0.005733, allocations: 92.39 kB / 0.78 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.005843, allocations: 133.9 kB / 0.7801 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.005847, allocations: 0 / 0.7801 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.005866, allocations: 12.86 kB / 0.7801 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.867e-05/0.005945, allocations: 12.61 kB / 0.7801 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.006124, allocations: 154.2 kB / 0.7803 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.006162, allocations: 75.34 kB / 0.7803 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.006225, allocations: 63.36 kB / 0.7804 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.006226, allocations: 0 / 0.7804 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.001555/0.007781, allocations: 0.9676 MB / 0.7813 GB, free: 8.27 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.350523826666176]