Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001513/0.001513, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.727/1.727, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.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.922/1.922, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001534/0.001534, allocations: 76.47 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3148, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002142/0.317, allocations: 0.6157 MB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3188, allocations: 1.117 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.3188, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.3189, allocations: 11.88 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.319, allocations: 7.922 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.3195, allocations: 121.4 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.3196, allocations: 91.83 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3197, allocations: 7.984 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.3198, allocations: 39.92 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.3199, allocations: 27.95 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.3199, allocations: 8 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.32, allocations: 23.98 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.32, allocations: 7.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.3201, allocations: 31.91 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3203, allocations: 83.78 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3203, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3203, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3203, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 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.0005164/0.3208, allocations: 381.4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3209, allocations: 8.031 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.3209, allocations: 8.844 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3211, allocations: 172.3 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3211, allocations: 4.359 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3212, allocations: 8.375 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3213, allocations: 38.25 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3213, allocations: 192 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3213, allocations: 3.938 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3213, allocations: 0 / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/0.3214, allocations: 16 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.3218, allocations: 292.8 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.3219, allocations: 30.52 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.3219, allocations: 8.922 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.3219, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.3221, allocations: 67.39 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3221, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002453/0.3224, allocations: 77.52 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3224, allocations: 51.41 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.3225, allocations: 105.8 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3226, allocations: 37.64 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.3226, allocations: 80.14 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3227, allocations: 11.91 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.3227, allocations: 33.7 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3229, allocations: 314.8 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.3229, allocations: 31.98 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.323, allocations: 50.56 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3232, allocations: 88.2 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3232, allocations: 7.938 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002634/0.3235, allocations: 155.2 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.3235, allocations: 37.69 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3235, allocations: 0 / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3235, allocations: 0 / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.3236, allocations: 4 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3236, allocations: 400 / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3238, allocations: 32.03 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3239, allocations: 7.984 kB / 0.7876 GB, free: 8.883 MB / 0.6075 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 0.0001203/0.324, allocations: 126.4 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.324, allocations: 4.141 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.3241, allocations: 11.89 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3241, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3241, allocations: 4 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3241, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3242, allocations: 165.6 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3242, allocations: 8 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.3243, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3243, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3243, allocations: 4 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3243, allocations: 4 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3243, allocations: 3.984 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.3244, allocations: 86.06 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.3245, allocations: 77.11 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3245, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.3246, allocations: 8 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3246, allocations: 3.984 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3246, allocations: 3.938 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.3247, allocations: 87.28 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3247, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002178/0.3249, allocations: 19.91 kB / 0.7882 GB, free: 8.176 MB / 0.6075 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.000184/0.3251, allocations: 107.2 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.3254, allocations: 131.3 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3254, allocations: 0 / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.3254, allocations: 19.98 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.3257, allocations: 19.81 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.326, allocations: 126 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3264, allocations: 0.6808 MB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.447e-05/0.3264, allocations: 4 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.3265, allocations: 7.438 kB / 0.7892 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3265, allocations: 4 kB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of Templates: time 0.003923/0.3304, allocations: 1.07 MB / 0.7903 GB, free: 5.949 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)