Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001885/0.001885, allocations: 193.8 kB / 16.14 MB, free: 6.66 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 69.02 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4834, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002333/0.4858, allocations: 0.6748 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.4875, allocations: 1.116 MB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.4875, allocations: 3.938 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.4876, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.4876, allocations: 11.92 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.4882, allocations: 103 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.4883, allocations: 91.7 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4884, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.4885, allocations: 35.97 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4887, allocations: 23.89 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.4887, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.314e-05/0.4888, allocations: 23.98 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.4889, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.489, allocations: 27.86 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.4892, allocations: 79.84 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4892, allocations: 3.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4892, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.4892, allocations: 0 / 1.07 GB, free: 8.68 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.0007837/0.49, allocations: 381.4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4901, allocations: 8.031 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.4901, allocations: 8.938 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.4903, allocations: 168.3 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4903, allocations: 8.312 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.4904, allocations: 4.375 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.4905, allocations: 38.25 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4905, allocations: 192 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.4905, allocations: 7.938 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4905, allocations: 0 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.4906, allocations: 11.98 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.4911, allocations: 296.8 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.785e-05/0.4911, allocations: 34.44 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.4912, allocations: 16.92 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.4912, allocations: 4 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.4913, allocations: 59.39 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.4914, allocations: 4 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.4916, allocations: 73.53 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4917, allocations: 51.41 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.4918, allocations: 117.8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.4918, allocations: 25.7 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.4919, allocations: 88.12 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.4919, allocations: 7.906 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.492, allocations: 29.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4921, allocations: 318.8 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.4922, allocations: 31.98 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4923, allocations: 50.55 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4924, allocations: 88.2 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4924, allocations: 4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002594/0.4927, allocations: 151.3 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.4927, allocations: 37.64 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4927, allocations: 3.938 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4928, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.4928, allocations: 7.984 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4928, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.4931, allocations: 31.88 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4931, allocations: 8 kB / 1.072 GB, free: 6.277 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 9.803e-05/0.4932, allocations: 121.8 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.4932, allocations: 7.922 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.4933, allocations: 7.906 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4933, allocations: 240 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4933, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4933, allocations: 3.984 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.4934, allocations: 169.6 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4934, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.4934, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4934, allocations: 4 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4935, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4935, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4935, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.4936, allocations: 88.95 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.4937, allocations: 81.11 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4937, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.4937, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.4937, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.4938, allocations: 15.94 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.4938, allocations: 87.25 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4938, allocations: 0 / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002095/0.494, allocations: 20 kB / 1.072 GB, free: 5.574 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.0001852/0.4942, allocations: 103.2 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.4945, allocations: 123.4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4945, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.4945, allocations: 16.06 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.4947, allocations: 16.48 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.4951, allocations: 131.7 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4954, allocations: 0.6848 MB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.4955, allocations: 7.938 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.4955, allocations: 7.438 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4955, allocations: 4 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.003785/0.4993, allocations: 1.033 MB / 1.074 GB, free: 3.395 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)