Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.00101/0.00101, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.007055/0.007055, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.211/3.211, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000562/0.000562, allocations: 10.31 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4233, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009706/0.4243, allocations: 340 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.4259, allocations: 1.116 MB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.4259, allocations: 0 / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.4259, allocations: 0 / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.426, allocations: 3.938 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.4265, allocations: 107.3 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.4266, allocations: 87.77 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.4267, allocations: 7.984 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.4268, allocations: 31.97 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.4269, allocations: 23.91 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4269, allocations: 4 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.427, allocations: 19.98 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.427, allocations: 0 / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.4271, allocations: 65.53 kB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.4272, allocations: 75.84 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4273, allocations: 0 / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.298e-06/0.4273, allocations: 0 / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4273, allocations: 3.938 kB / 1.076 GB, free: 5.66 MB / 0.8262 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.0004502/0.4277, allocations: 370.6 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4278, allocations: 8.031 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.4278, allocations: 4.938 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.4279, allocations: 172.2 kB / 1.076 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.428, allocations: 384 / 1.076 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.428, allocations: 12.38 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.4281, allocations: 34.25 kB / 1.077 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.4281, allocations: 4.125 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4281, allocations: 3.938 kB / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4281, allocations: 0 / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.4282, allocations: 19.98 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.4286, allocations: 292.8 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.4287, allocations: 34.5 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.4287, allocations: 16.92 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.4287, allocations: 0 / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.4289, allocations: 67.39 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.4289, allocations: 0 / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.4291, allocations: 69.62 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4292, allocations: 51.41 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.4292, allocations: 113.8 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.4293, allocations: 29.7 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.4294, allocations: 88.12 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.4294, allocations: 7.906 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4294, allocations: 21.72 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4295, allocations: 318.8 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.4296, allocations: 35.97 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.4297, allocations: 46.56 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4299, allocations: 84.2 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4299, allocations: 7.938 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000258/0.4301, allocations: 151.3 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.4302, allocations: 37.69 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4302, allocations: 0 / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4302, allocations: 0 / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.4303, allocations: 7.938 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4303, allocations: 0 / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.4305, allocations: 41.5 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.4306, allocations: 11.98 kB / 1.078 GB, free: 3.273 MB / 0.8262 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 0.0001013/0.4307, allocations: 121.7 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.4307, allocations: 0 / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.4307, allocations: 11.91 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4307, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4307, allocations: 4 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4308, allocations: 0 / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4309, allocations: 165.6 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4309, allocations: 0 / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.4309, allocations: 3.938 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4309, allocations: 4 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.4309, allocations: 0 / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4309, allocations: 0 / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4309, allocations: 0 / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.4311, allocations: 96.98 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.4311, allocations: 85.02 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.4311, allocations: 0 / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.4312, allocations: 0 / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.4312, allocations: 4.047 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4312, allocations: 8 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.009e-05/0.4313, allocations: 83.28 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4313, allocations: 0 / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002137/0.4315, allocations: 16 kB / 1.079 GB, free: 2.578 MB / 0.8262 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.0001563/0.4316, allocations: 107.9 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.4319, allocations: 123.3 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4319, allocations: 4 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.4319, allocations: 12.38 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.4321, allocations: 15.92 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.4324, allocations: 136.7 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4327, allocations: 0.6809 MB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.4327, allocations: 4.094 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.4328, allocations: 7.438 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4328, allocations: 0 / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of Templates: time 0.003605/0.4364, allocations: 1.022 MB / 1.081 GB, free: 420 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)