Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0009014/0.0009012, allocations: 92.31 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.001095/0.001095, 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.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.696/1.696, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0007681/0.0007681, allocations: 13.88 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2563, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001027/0.2574, allocations: 0.5363 MB / 0.7879 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.2575, allocations: 47.77 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.2576, allocations: 3.938 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.2576, allocations: 3.938 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.2577, allocations: 11.92 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.609e-05/0.2578, allocations: 11.94 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.2579, allocations: 59.84 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.258, allocations: 37.56 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.2581, allocations: 19.88 kB / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.2582, allocations: 31.77 kB / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2582, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-06/0.2582, allocations: 4 kB / 0.7881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.2582, allocations: 7.938 kB / 0.7882 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.2583, allocations: 37.64 kB / 0.7882 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.2583, allocations: 64.03 kB / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2584, allocations: 0 / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2584, allocations: 0 / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2584, allocations: 0 / 0.7883 GB, free: 10.95 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.0003738/0.2587, allocations: 373.9 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2588, allocations: 16.03 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.2588, allocations: 42.55 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.2589, allocations: 11.91 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.2591, allocations: 205.6 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2591, allocations: 0 / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.2591, allocations: 12 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2593, allocations: 87.39 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2593, allocations: 0 / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2593, allocations: 0 / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2594, allocations: 12 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.2594, allocations: 39.92 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.26, allocations: 440.5 kB / 0.7894 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.26, allocations: 53.23 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.2601, allocations: 14.91 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.2601, allocations: 0 / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2601, allocations: 46.53 kB / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.2601, allocations: 0 / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001834/0.2603, allocations: 53.7 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.2604, allocations: 85.14 kB / 0.7897 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2605, allocations: 167.3 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2606, allocations: 33.69 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.2606, allocations: 103.9 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.2606, allocations: 7.984 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2606, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.2607, allocations: 318.8 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.2608, allocations: 11.92 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.2608, allocations: 21.72 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.2608, allocations: 8 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2608, allocations: 0 / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.149e-05/0.2609, allocations: 73.39 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2609, allocations: 4 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.261, allocations: 4 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.261, allocations: 0 / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.261, allocations: 8.062 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.261, allocations: 0 / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.2611, allocations: 7.938 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.2611, allocations: 0 / 0.7904 GB, free: 8.477 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 6.824e-05/0.2612, allocations: 113.8 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.2612, allocations: 11.86 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2612, allocations: 16.55 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2613, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2613, allocations: 4 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2613, allocations: 4 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.2616, allocations: 490.6 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2616, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.2617, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2617, allocations: 4 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2617, allocations: 4 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2617, allocations: 0 / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2617, allocations: 64 / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.2618, allocations: 89.78 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.2618, allocations: 89.02 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2619, allocations: 3.938 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.2619, allocations: 0 / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.2619, allocations: 3.984 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2619, allocations: 8.031 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.738e-05/0.262, allocations: 124 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.262, allocations: 0 / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001836/0.2622, allocations: 8 kB / 0.7913 GB, free: 7.41 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.0003566/0.2626, allocations: 0.6248 MB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.2627, allocations: 16 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2627, allocations: 0 / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.2627, allocations: 7.938 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.2628, allocations: 8 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.2636, allocations: 0.6015 MB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2639, allocations: 0.7004 MB / 0.7933 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.264, allocations: 4.438 kB / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.264, allocations: 27.42 kB / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.264, allocations: 0 / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.2774, allocations: 1.592 MB / 0.7948 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.2776, allocations: 195.2 kB / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.153, allocations: 0 / 0.795 GB, free: 3.617 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) Environment - environmentSimulation: