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.0009318/0.0009318, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007064/0.007064, allocations: 170 kB / 16.27 MB, free: 6.652 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.383/1.383, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.638/1.638, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004929/0.0004931, allocations: 17.94 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001062/0.2212, allocations: 0.5633 MB / 0.7885 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.2213, allocations: 47.77 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.2213, allocations: 4 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.2214, allocations: 11.88 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.2214, allocations: 11.91 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.795e-05/0.2215, allocations: 12 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.2216, allocations: 59.84 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2217, allocations: 41.39 kB / 0.7887 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.2218, allocations: 23.8 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.2218, allocations: 23.8 kB / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2218, allocations: 4 kB / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-06/0.2218, allocations: 0 / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.2219, allocations: 11.94 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.2219, allocations: 53.44 kB / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.652e-05/0.222, allocations: 79.89 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.222, allocations: 0 / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.222, allocations: 0 / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.222, allocations: 4 kB / 0.7889 GB, free: 10.48 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.0003883/0.2224, allocations: 375.2 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2225, allocations: 12.03 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.2225, allocations: 34.75 kB / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.2226, allocations: 16.78 kB / 0.7893 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.2228, allocations: 195.3 kB / 0.7895 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2228, allocations: 12.28 kB / 0.7895 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2228, allocations: 4.375 kB / 0.7895 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.223, allocations: 99.89 kB / 0.7896 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.223, allocations: 3.938 kB / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.223, allocations: 4 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.223, allocations: 4 kB / 0.7896 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.2231, allocations: 35.98 kB / 0.7897 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2236, allocations: 448.5 kB / 0.7901 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.842e-05/0.2237, allocations: 42.22 kB / 0.7902 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.2237, allocations: 21.78 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2237, allocations: 4.078 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2237, allocations: 46.5 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2238, allocations: 0 / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.2239, allocations: 61.48 kB / 0.7903 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.224, allocations: 77.11 kB / 0.7904 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2241, allocations: 171.3 kB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2242, allocations: 25.7 kB / 0.7905 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2242, allocations: 108 kB / 0.7906 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-06/0.2242, allocations: 12.16 kB / 0.7907 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.2243, allocations: 9.719 kB / 0.7907 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2244, allocations: 318.8 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.2244, allocations: 8 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.2245, allocations: 21.72 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.2245, allocations: 29.66 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2245, allocations: 4 kB / 0.791 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.203e-05/0.2246, allocations: 57.59 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2246, allocations: 7.938 kB / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2246, allocations: 96 / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2246, allocations: 7.984 kB / 0.7911 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.2247, allocations: 7.938 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2247, allocations: 0 / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.2248, allocations: 11.91 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.2248, allocations: 0 / 0.7911 GB, free: 7.961 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.2248, allocations: 125.8 kB / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.2249, allocations: 11.84 kB / 0.7912 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.2249, allocations: 8.562 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2249, allocations: 0 / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2249, allocations: 4 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.2249, allocations: 0 / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.2254, allocations: 478.8 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2254, allocations: 8.062 kB / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.2254, allocations: 0 / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2254, allocations: 4 kB / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2254, allocations: 0 / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2254, allocations: 3.938 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2254, allocations: 0 / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.2256, allocations: 97.67 kB / 0.7918 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.2256, allocations: 89 kB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2256, allocations: 0 / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.2257, allocations: 3.938 kB / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.2257, allocations: 0 / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2257, allocations: 4 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.741e-05/0.2258, allocations: 124 kB / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2258, allocations: 0 / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001767/0.226, allocations: 8 kB / 0.792 GB, free: 6.898 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 (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.0003344/0.2263, allocations: 0.621 MB / 0.7926 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.2264, allocations: 16 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2264, allocations: 0 / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.2264, allocations: 20.08 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.2266, allocations: 10.97 kB / 0.7927 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2278, allocations: 1.381 MB / 0.794 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.2281, allocations: 0.6965 MB / 0.7947 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2281, allocations: 12.36 kB / 0.7947 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.2281, allocations: 23.44 kB / 0.7948 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2282, allocations: 4 kB / 0.7948 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.2388, allocations: 1.468 MB / 0.7962 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.239, allocations: 207.6 kB / 0.7964 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.727, allocations: 3.938 kB / 0.7964 GB, free: 2.371 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/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)