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_ton.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001379/0.001378, allocations: 181 kB / 326.5 MB, free: 2.242 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.979/1.979, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008621/0.0008622, allocations: 86.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 9.219 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.000901/0.1943, allocations: 0.5523 MB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001007/0.1944, allocations: 57.02 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.1945, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.1945, allocations: 3.938 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.1946, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.114e-05/0.1946, allocations: 15.98 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.1947, allocations: 51.81 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1948, allocations: 29.58 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.1949, allocations: 23.86 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.1949, allocations: 19.86 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.195, allocations: 4 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.195, allocations: 0 / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.195, allocations: 11.92 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.195, allocations: 41.64 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.939e-05/0.1951, allocations: 51.88 kB / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1951, allocations: 0 / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1951, allocations: 4 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1951, allocations: 0 / 0.901 GB, free: 62.98 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.0003406/0.1955, allocations: 363.4 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1955, allocations: 8.031 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1955, allocations: 46.55 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.1956, allocations: 15.75 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1957, allocations: 206.8 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1958, allocations: 4 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1958, allocations: 8 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1959, allocations: 91.3 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1959, allocations: 7.938 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1959, allocations: 0 / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.196, allocations: 0 / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.196, allocations: 35.98 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1964, allocations: 448.8 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.1965, allocations: 41.16 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.1965, allocations: 7.984 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.1965, allocations: 30.56 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1965, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.1967, allocations: 65.5 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1967, allocations: 77.11 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1968, allocations: 170.1 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.1969, allocations: 25.95 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1969, allocations: 108 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.1969, allocations: 7.906 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.1969, allocations: 0 / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.197, allocations: 318.8 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.197, allocations: 8 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.197, allocations: 25.7 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.267e-05/0.197, allocations: 11.94 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1971, allocations: 4 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.733e-05/0.1971, allocations: 65.48 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1971, allocations: 4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1971, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1972, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.1972, allocations: 8 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1972, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.1973, allocations: 15.84 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1973, allocations: 0 / 0.9031 GB, free: 60.55 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 4.906e-05/0.1973, allocations: 117.9 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1974, allocations: 15.8 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.1974, allocations: 16.55 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1974, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1974, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1974, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1977, allocations: 486.8 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1977, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.1978, allocations: 4 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1978, allocations: 0 / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1978, allocations: 4 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1978, allocations: 7.938 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1978, allocations: 0 / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.559e-05/0.1979, allocations: 99.62 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.1979, allocations: 88.92 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1979, allocations: 4 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.1979, allocations: 4 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.198, allocations: 3.984 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.198, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.198, allocations: 124.9 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.198, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001834/0.1982, allocations: 12.03 kB / 0.9041 GB, free: 59.46 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.0002164/0.1984, allocations: 0.6992 MB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.629e-05/0.1985, allocations: 23.97 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1985, allocations: 0 / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.1985, allocations: 4 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.1987, allocations: 8.516 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.1993, allocations: 0.7417 MB / 0.9055 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1994, allocations: 0.7082 MB / 0.9062 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.1994, allocations: 8.375 kB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1995, allocations: 23.42 kB / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.1995, allocations: 0 / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.2117, allocations: 1.591 MB / 0.9078 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.2119, allocations: 193 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.816, allocations: 0 / 0.908 GB, free: 55.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)