Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 168 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009498/0.0009499, allocations: 90 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 9.625 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 106.3 MB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001078/0.2188, allocations: 0.5579 MB / 0.9014 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001014/0.2189, allocations: 43.78 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.219, allocations: 4 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.219, allocations: 7.875 kB / 0.9014 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2191, allocations: 7.922 kB / 0.9014 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.445e-05/0.2192, allocations: 15.98 kB / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.2193, allocations: 59.84 kB / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2194, allocations: 37.56 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.2195, allocations: 19.86 kB / 0.9016 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.2196, allocations: 23.8 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2196, allocations: 0 / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.2196, allocations: 4 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.2196, allocations: 7.938 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.2196, allocations: 37.64 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.121e-05/0.2197, allocations: 55.86 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2197, allocations: 8 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2198, allocations: 0 / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2198, allocations: 0 / 0.9017 GB, free: 62.95 MB / 0.6042 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.000378/0.2202, allocations: 375.3 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2202, allocations: 12.02 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.2202, allocations: 15.81 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.2204, allocations: 190.8 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2205, allocations: 11.94 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2205, allocations: 12 kB / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2206, allocations: 97.94 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2207, allocations: 0 / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2207, allocations: 4 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2207, allocations: 4 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.2208, allocations: 39.92 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.2212, allocations: 448.6 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/0.2213, allocations: 37.19 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.2213, allocations: 21.84 kB / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2213, allocations: 0 / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.2214, allocations: 34.56 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2214, allocations: 0 / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.2215, allocations: 65.44 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.2216, allocations: 81.05 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2217, allocations: 166.2 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2217, allocations: 25.7 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2218, allocations: 108.3 kB / 0.9034 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.2218, allocations: 7.906 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.2218, allocations: 4 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.2218, allocations: 322.8 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.2219, allocations: 4 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.2219, allocations: 25.64 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.2219, allocations: 8 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2219, allocations: 0 / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.176e-05/0.222, allocations: 65.56 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.222, allocations: 4 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.222, allocations: 3.938 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.222, allocations: 4 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.2221, allocations: 7.984 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2221, allocations: 0 / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.2222, allocations: 11.84 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2222, allocations: 0 / 0.9038 GB, free: 60.53 MB / 0.6042 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.221e-05/0.2222, allocations: 117.9 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2223, allocations: 11.86 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.2223, allocations: 20.48 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2223, allocations: 0 / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2223, allocations: 4 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2223, allocations: 96 / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.2226, allocations: 474.8 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2227, allocations: 8.062 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.2227, allocations: 0 / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2227, allocations: 4 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2227, allocations: 3.984 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2227, allocations: 0 / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2227, allocations: 0 / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.826e-05/0.2228, allocations: 85.8 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.2229, allocations: 92.94 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2229, allocations: 4 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.2229, allocations: 8 kB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.2229, allocations: 0 / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.2229, allocations: 0 / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.223, allocations: 124.9 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.223, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001845/0.2232, allocations: 8 kB / 0.9047 GB, free: 59.47 MB / 0.6042 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.0001064/0.2233, allocations: 107.2 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.107e-05/0.2234, allocations: 23.88 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2234, allocations: 0 / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.2234, allocations: 4 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.2236, allocations: 11.95 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.2239, allocations: 233.8 kB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.224, allocations: 0.6965 MB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.2241, allocations: 11.44 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2241, allocations: 4 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.001929/0.226, allocations: 0.9058 MB / 0.9067 GB, free: 57.41 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)