Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009798/0.00098, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.709/1.709, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0006626/0.0006627, allocations: 12.78 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2914, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001075/0.2925, allocations: 0.5363 MB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001182/0.2926, allocations: 51.72 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.2927, allocations: 0 / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.2927, allocations: 3.938 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.2928, allocations: 11.91 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.839e-05/0.2929, allocations: 15.98 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.293, allocations: 63.78 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2931, allocations: 29.58 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.2932, allocations: 23.86 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.2932, allocations: 19.86 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2933, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.2933, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.2933, allocations: 7.938 kB / 0.7882 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.2933, allocations: 45.64 kB / 0.7882 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.2934, allocations: 56.08 kB / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2934, allocations: 7.938 kB / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2934, allocations: 0 / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2934, allocations: 0 / 0.7883 GB, free: 10.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004502/0.2939, allocations: 379 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.294, allocations: 12.03 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.294, allocations: 34.56 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.294, allocations: 11.91 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.2943, allocations: 198.8 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2943, allocations: 8 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2943, allocations: 4 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2945, allocations: 98.14 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2945, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2945, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2945, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.245e-05/0.2946, allocations: 35.98 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.2952, allocations: 452.5 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.2952, allocations: 45.17 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.2953, allocations: 26.83 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.2953, allocations: 0 / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2953, allocations: 38.58 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2953, allocations: 3.938 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.2955, allocations: 53.55 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2956, allocations: 77.11 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2957, allocations: 179.6 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2958, allocations: 25.7 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.2959, allocations: 115.9 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.2959, allocations: 0 / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2959, allocations: 0 / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.296, allocations: 322.8 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.2961, allocations: 8 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.2961, allocations: 17.72 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.2961, allocations: 8 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2961, allocations: 0 / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001544/0.2963, allocations: 73.39 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2963, allocations: 4 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2963, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2964, allocations: 4 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.2964, allocations: 4 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2964, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.2965, allocations: 8.062 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2965, allocations: 3.938 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.356e-05/0.2966, allocations: 117.8 kB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.2967, allocations: 15.84 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.2967, allocations: 12.56 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2967, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2967, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2967, allocations: 4 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.2971, allocations: 490.6 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2971, allocations: 4 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.2972, allocations: 0 / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.2972, allocations: 4 kB / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2972, allocations: 0 / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2972, allocations: 4 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2972, allocations: 0 / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.093e-05/0.2973, allocations: 89.91 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.2974, allocations: 84.95 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.2974, allocations: 7.984 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.2974, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.2974, allocations: 3.938 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.2974, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.548e-05/0.2975, allocations: 128 kB / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2976, allocations: 4.031 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001796/0.2977, allocations: 8 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004081/0.2981, allocations: 0.617 MB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.2982, allocations: 23.97 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2983, allocations: 0 / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.2983, allocations: 8 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.2984, allocations: 14.75 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.2993, allocations: 0.5937 MB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2995, allocations: 0.7082 MB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.2996, allocations: 4.438 kB / 0.7933 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.2996, allocations: 27.42 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2996, allocations: 0 / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.322, allocations: 1.589 MB / 0.7948 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.3222, allocations: 197.7 kB / 0.795 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.222, allocations: 0 / 0.795 GB, free: 3.629 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) Environment - environmentSimulation: