Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001582/0.001582, allocations: 190.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 82.92 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007675/0.0007676, allocations: 19.84 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2425, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00112/0.2436, allocations: 353.9 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.2459, allocations: 1.064 MB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.246, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.246, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2461, allocations: 8 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.247, allocations: 110.8 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2471, allocations: 47.94 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.2472, allocations: 8 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2474, allocations: 27.91 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2475, allocations: 27.91 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2476, allocations: 4 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2477, allocations: 23.86 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.2477, allocations: 7.984 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.2478, allocations: 33.7 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.248, allocations: 55.86 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.248, allocations: 0 / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.726e-06/0.248, allocations: 4 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2481, allocations: 4 kB / 0.98 GB, free: 26.51 MB / 0.6198 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.0004865/0.2486, allocations: 363.1 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.2486, allocations: 19.95 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.2487, allocations: 30.56 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.2488, allocations: 4 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2489, allocations: 178.9 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.249, allocations: 0 / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.249, allocations: 4 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2492, allocations: 41.69 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2492, allocations: 4 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2492, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2493, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.2494, allocations: 8 kB / 0.9806 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.25, allocations: 296.8 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.2501, allocations: 26.58 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2501, allocations: 4 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.2504, allocations: 59.45 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.887e-06/0.2504, allocations: 3.984 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004115/0.2508, allocations: 73.61 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2509, allocations: 55.41 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.251, allocations: 113.7 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.2511, allocations: 25.7 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.2512, allocations: 92.14 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2512, allocations: 7.891 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.2512, allocations: 4 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.2513, allocations: 318.8 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2514, allocations: 27.98 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2516, allocations: 54.5 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2517, allocations: 65.62 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2517, allocations: 0 / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003564/0.2521, allocations: 147.4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.2521, allocations: 41.69 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2522, allocations: 0 / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2522, allocations: 4 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.2523, allocations: 0 / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2523, allocations: 0 / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.2526, allocations: 49.84 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2527, allocations: 7.953 kB / 0.982 GB, free: 24.16 MB / 0.6198 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.298e-05/0.2528, allocations: 117.8 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2528, allocations: 4 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.2529, allocations: 7.906 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2529, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2529, allocations: 4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2529, allocations: 4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.253, allocations: 161.6 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.253, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.2531, allocations: 7.938 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2531, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2531, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2531, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2531, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.2533, allocations: 101 kB / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.2533, allocations: 77.11 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2533, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.2534, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.2534, allocations: 7.984 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2534, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.2535, allocations: 91.66 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2535, allocations: 0 / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002889/0.2538, allocations: 15.94 kB / 0.9826 GB, free: 23.48 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003511/0.2541, allocations: 0.6318 MB / 0.9832 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.2544, allocations: 127.3 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2544, allocations: 3.938 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.2545, allocations: 15.98 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2547, allocations: 9.688 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.2553, allocations: 0.6479 MB / 0.984 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2555, allocations: 0.6848 MB / 0.9847 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.2555, allocations: 4.516 kB / 0.9847 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.2555, allocations: 7.438 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.613e-06/0.2556, allocations: 0 / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.2754, allocations: 1.755 MB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.2757, allocations: 195 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.553, allocations: 0 / 0.9866 GB, free: 19.41 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)