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.375/1.375, allocations: 252 MB / 267 MB, free: 10.98 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.0009869/0.0009868, allocations: 178 kB / 326.6 MB, free: 2.234 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.922/1.922, allocations: 205.4 MB / 0.5776 GB, free: 20.32 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.0008102/0.0008105, allocations: 83.34 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12.77 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001161/0.276, allocations: 0.5538 MB / 0.9008 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.2762, allocations: 47.72 kB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.2763, allocations: 0 / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.2763, allocations: 7.922 kB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2764, allocations: 11.94 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.097e-05/0.2765, allocations: 11.98 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2766, allocations: 59.84 kB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2768, allocations: 33.56 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.2769, allocations: 19.88 kB / 0.901 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.2769, allocations: 27.78 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.277, allocations: 4 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.277, allocations: 4 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.277, allocations: 7.922 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.277, allocations: 37.64 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.2771, allocations: 51.89 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2771, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2772, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2772, allocations: 0 / 0.9012 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.0004258/0.2776, allocations: 375.4 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2777, allocations: 8.031 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.2777, allocations: 42.56 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.2778, allocations: 15.75 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.278, allocations: 204.1 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.278, allocations: 4 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.278, allocations: 8 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2782, allocations: 95.28 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2782, allocations: 3.984 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2782, allocations: 8 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2783, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.2784, allocations: 39.92 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.279, allocations: 448.6 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.245e-05/0.2791, allocations: 49.34 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.2791, allocations: 13.78 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.2791, allocations: 0 / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2791, allocations: 34.56 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2791, allocations: 0 / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001894/0.2793, allocations: 65.44 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2794, allocations: 77.11 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2795, allocations: 170.2 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.2795, allocations: 29.64 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.2796, allocations: 104 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-06/0.2796, allocations: 7.906 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2796, allocations: 0 / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.2797, allocations: 319.1 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.2797, allocations: 15.94 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.2797, allocations: 17.72 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.2798, allocations: 11.98 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2798, allocations: 3.953 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.636e-05/0.2799, allocations: 61.55 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2799, allocations: 4 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2799, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2799, allocations: 4.062 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.28, allocations: 11.98 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.28, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.2801, allocations: 7.844 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2801, allocations: 4 kB / 0.9033 GB, free: 60.47 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 7.803e-05/0.2802, allocations: 117.8 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2803, allocations: 11.86 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2803, allocations: 12.56 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2803, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2803, allocations: 7.984 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2803, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.2807, allocations: 482.8 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2807, allocations: 0 / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.2807, allocations: 4 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2807, allocations: 0 / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2807, allocations: 0 / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2807, allocations: 4.062 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2807, allocations: 7.984 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.085e-05/0.2808, allocations: 77.8 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.2809, allocations: 96.91 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.2809, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.2809, allocations: 4 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.2809, allocations: 4.031 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.281, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.167e-05/0.281, allocations: 128.9 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.281, allocations: 0 / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001937/0.2812, allocations: 8 kB / 0.9042 GB, free: 59.41 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.0003203/0.2816, allocations: 0.621 MB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.768e-05/0.2817, allocations: 19.92 kB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2817, allocations: 0 / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.2817, allocations: 15.94 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.2819, allocations: 5.203 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.2827, allocations: 0.5947 MB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.2829, allocations: 0.6965 MB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.2829, allocations: 8.422 kB / 0.9062 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.283, allocations: 27.42 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.283, allocations: 0 / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2953, allocations: 1.602 MB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.2955, allocations: 210.5 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.837, allocations: 4 kB / 0.908 GB, free: 55.64 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)