Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 188.3 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 101.4 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2879, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002571/0.2905, allocations: 0.6765 MB / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2922, allocations: 1.125 MB / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.2923, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.2924, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.2925, allocations: 7.938 kB / 0.984 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.2931, allocations: 115.8 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2932, allocations: 79.88 kB / 0.9842 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.2933, allocations: 4 kB / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2935, allocations: 35.91 kB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.2936, allocations: 27.89 kB / 0.9842 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.2936, allocations: 4 kB / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.2937, allocations: 19.98 kB / 0.9843 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2937, allocations: 0 / 0.9843 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.2938, allocations: 27.92 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.294, allocations: 83.72 kB / 0.9844 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.294, allocations: 4 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.193e-06/0.294, allocations: 0 / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.294, allocations: 0 / 0.9844 GB, free: 8.137 MB / 0.7136 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.0005592/0.2945, allocations: 385.4 kB / 0.9847 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2946, allocations: 8.031 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.2947, allocations: 8.844 kB / 0.9848 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2948, allocations: 164.4 kB / 0.9849 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2948, allocations: 384 / 0.9849 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2949, allocations: 8.312 kB / 0.9849 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.295, allocations: 46.25 kB / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.295, allocations: 192 / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.295, allocations: 3.938 kB / 0.985 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.295, allocations: 3.984 kB / 0.985 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.2951, allocations: 19.92 kB / 0.985 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.2955, allocations: 288.8 kB / 0.9853 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.2956, allocations: 34.5 kB / 0.9853 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.2956, allocations: 16.92 kB / 0.9853 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.2956, allocations: 0 / 0.9853 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.2958, allocations: 75.23 kB / 0.9854 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.2958, allocations: 0 / 0.9854 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002087/0.2961, allocations: 65.69 kB / 0.9855 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2961, allocations: 51.41 kB / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2962, allocations: 117.8 kB / 0.9856 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2962, allocations: 33.64 kB / 0.9857 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.2963, allocations: 84.12 kB / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.2963, allocations: 11.91 kB / 0.9857 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.2964, allocations: 29.7 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2965, allocations: 310.8 kB / 0.9861 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.2966, allocations: 31.98 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.2967, allocations: 58.48 kB / 0.9862 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2969, allocations: 84.27 kB / 0.9862 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2969, allocations: 3.938 kB / 0.9862 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000294/0.2972, allocations: 151.2 kB / 0.9864 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.2973, allocations: 33.7 kB / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2973, allocations: 0 / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2973, allocations: 0 / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2974, allocations: 15.98 kB / 0.9864 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2975, allocations: 0 / 0.9864 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2977, allocations: 27.97 kB / 0.9865 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2977, allocations: 4 kB / 0.9865 GB, free: 5.734 MB / 0.7136 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.0001089/0.2978, allocations: 125.8 kB / 0.9866 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2978, allocations: 3.906 kB / 0.9866 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.2979, allocations: 3.906 kB / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2979, allocations: 7.938 kB / 0.9866 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2979, allocations: 4 kB / 0.9866 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2979, allocations: 0 / 0.9866 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2981, allocations: 165.6 kB / 0.9868 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2981, allocations: 4 kB / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.2981, allocations: 0 / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2981, allocations: 0 / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2981, allocations: 0 / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2981, allocations: 4 kB / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2981, allocations: 64 / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.2986, allocations: 0.6435 MB / 0.9874 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.2987, allocations: 85.02 kB / 0.9875 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2987, allocations: 0 / 0.9875 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.2987, allocations: 0 / 0.9875 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.2987, allocations: 12.16 kB / 0.9875 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2988, allocations: 7.984 kB / 0.9875 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.2988, allocations: 79.28 kB / 0.9876 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2988, allocations: 8 kB / 0.9876 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003374/0.2992, allocations: 19.94 kB / 0.9876 GB, free: 4.426 MB / 0.7136 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.0001887/0.2994, allocations: 107.2 kB / 0.9877 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2996, allocations: 127.4 kB / 0.9878 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2996, allocations: 0 / 0.9878 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.2997, allocations: 15.94 kB / 0.9878 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3, allocations: 18.34 kB / 0.9879 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.3004, allocations: 242.4 kB / 0.9881 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3007, allocations: 0.677 MB / 0.9887 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.3007, allocations: 4 kB / 0.9888 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.3007, allocations: 11.44 kB / 0.9888 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.3007, allocations: 0 / 0.9888 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of Templates: time 0.003551/0.3043, allocations: 1.062 MB / 0.9898 GB, free: 2.105 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)