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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001519, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.00169/0.00169, allocations: 189.7 kB / 17.31 MB, free: 5.613 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.772/1.772, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001535/0.001535, allocations: 64.69 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2201, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002478/0.2226, allocations: 0.8631 MB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.2228, allocations: 43.72 kB / 0.7857 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.2229, allocations: 4 kB / 0.7857 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.223, allocations: 11.86 kB / 0.7857 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2231, allocations: 11.88 kB / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.2232, allocations: 19.98 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2233, allocations: 71.77 kB / 0.7858 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2235, allocations: 37.39 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.2236, allocations: 31.84 kB / 0.7859 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.2237, allocations: 39.78 kB / 0.7859 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2237, allocations: 8 kB / 0.7859 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.2237, allocations: 4 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.2237, allocations: 15.94 kB / 0.7859 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.2238, allocations: 35.8 kB / 0.786 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2239, allocations: 91.5 kB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2239, allocations: 0 / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.224, allocations: 0 / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.224, allocations: 0 / 0.786 GB, free: 1.918 MB / 0.6544 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.0004991/0.2245, allocations: 391.1 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2245, allocations: 8.031 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.2246, allocations: 16.75 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2248, allocations: 188.2 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2248, allocations: 8.375 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2248, allocations: 4.375 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.225, allocations: 95.94 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.225, allocations: 4.188 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.225, allocations: 7.938 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.2251, allocations: 4 kB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.2252, allocations: 43.86 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.2258, allocations: 440.5 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.2259, allocations: 45.28 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.2259, allocations: 17.84 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.2259, allocations: 0 / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2259, allocations: 30.56 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2259, allocations: 4 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000183/0.2261, allocations: 61.69 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2262, allocations: 85.14 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2263, allocations: 165.5 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2264, allocations: 25.7 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4084/0.6347, allocations: 108.9 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.6348, allocations: 9.938 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.6349, allocations: 15.91 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.635, allocations: 325.9 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.635, allocations: 4.656 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.6351, allocations: 21.77 kB / 0.7881 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/0.6352, allocations: 28.06 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6352, allocations: 0 / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001892/0.6354, allocations: 63.39 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.6354, allocations: 7.719 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6354, allocations: 3.75 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/0.6355, allocations: 2.625 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.6356, allocations: 7.969 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6356, allocations: 0 / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.6357, allocations: 8.562 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.6357, allocations: 0 / 0.7882 GB, free: 48.22 MB / 0.6544 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 8.683e-05/0.6358, allocations: 122.7 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.6359, allocations: 10.66 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.6359, allocations: 11.86 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.636, allocations: 3.938 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.636, allocations: 1.172 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.636, allocations: 2.625 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.6364, allocations: 481.9 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6365, allocations: 1.5 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.6365, allocations: 5.625 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.6365, allocations: 4.562 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.6365, allocations: 1.438 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6365, allocations: 0 / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6365, allocations: 2.625 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.6367, allocations: 83.69 kB / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.6367, allocations: 92.45 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.6367, allocations: 0.6562 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.6368, allocations: 6.656 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.6368, allocations: 2.75 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.6368, allocations: 2.812 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001082/0.6369, allocations: 134.2 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.637, allocations: 0 / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002909/0.6373, allocations: 8.281 kB / 0.7891 GB, free: 47.39 MB / 0.6544 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.0001276/0.6374, allocations: 96.34 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.6375, allocations: 22.78 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6375, allocations: 0 / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.6376, allocations: 9.312 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6378, allocations: 10.97 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.6383, allocations: 201.8 kB / 0.7895 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.6384, allocations: 0.6939 MB / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.6384, allocations: 12.84 kB / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.6385, allocations: 0 / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.003053/0.6415, allocations: 0.9263 MB / 0.7911 GB, free: 46.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)