Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005785/0.005785, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 9.156 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5167, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001055/0.5178, allocations: 344 kB / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.5198, allocations: 1.112 MB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.5199, allocations: 0 / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.5199, allocations: 3.938 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.52, allocations: 3.984 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.5207, allocations: 111.3 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.5208, allocations: 79.81 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.5209, allocations: 11.94 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.521, allocations: 27.97 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.5211, allocations: 31.89 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.5212, allocations: 4 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.5212, allocations: 15.98 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.5213, allocations: 7.938 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.5214, allocations: 49.62 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.5216, allocations: 87.77 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5216, allocations: 0 / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5216, allocations: 0 / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5216, allocations: 0 / 1.076 GB, free: 5.633 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.0006319/0.5222, allocations: 361.4 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5223, allocations: 8.031 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.5224, allocations: 4.938 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.5226, allocations: 176.3 kB / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.5226, allocations: 384 / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.5227, allocations: 8.375 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.5228, allocations: 46.19 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5228, allocations: 4.125 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5228, allocations: 3.938 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5228, allocations: 0 / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.5229, allocations: 4 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.5234, allocations: 300.8 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.5235, allocations: 38.45 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.5235, allocations: 16.91 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.5235, allocations: 0 / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.5237, allocations: 59.39 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.5237, allocations: 0 / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002354/0.5239, allocations: 73.62 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.524, allocations: 51.41 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5241, allocations: 117.7 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.5242, allocations: 29.7 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.5243, allocations: 84.14 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.5243, allocations: 7.906 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.5243, allocations: 21.7 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5245, allocations: 314.8 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.5246, allocations: 31.98 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.5247, allocations: 58.55 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.5249, allocations: 84.2 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5249, allocations: 7.875 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002621/0.5251, allocations: 147.3 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.5252, allocations: 31.42 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5252, allocations: 4 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5252, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.5253, allocations: 12.12 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5253, allocations: 3.984 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.5256, allocations: 40.11 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.5256, allocations: 4 kB / 1.078 GB, free: 3.254 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.951e-05/0.5257, allocations: 121.8 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.5257, allocations: 7.984 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.5258, allocations: 7.891 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5258, allocations: 4 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5258, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.5258, allocations: 3.938 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.526, allocations: 165.6 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.526, allocations: 0 / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.526, allocations: 0 / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.526, allocations: 0 / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.526, allocations: 12 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.526, allocations: 0 / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.526, allocations: 3.938 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.5262, allocations: 84.97 kB / 1.078 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.5262, allocations: 81.09 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.5263, allocations: 4 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.5263, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.5263, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.5263, allocations: 8 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.5264, allocations: 87.27 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.674e-06/0.5264, allocations: 0 / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002462/0.5266, allocations: 19.94 kB / 1.079 GB, free: 2.551 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: 3 ($whenCondition1,$whenCondition2,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.000173/0.5268, allocations: 103.2 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.5272, allocations: 127.4 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5272, allocations: 0 / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.5272, allocations: 19.94 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.5274, allocations: 19.98 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.5278, allocations: 126.9 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5282, allocations: 0.6809 MB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.5282, allocations: 11.89 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.5282, allocations: 11.44 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.5282, allocations: 4 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.004551/0.5328, allocations: 1.02 MB / 1.081 GB, free: 380 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)