Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 180.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 79.23 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.096e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7764, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/1.017, allocations: 137.8 MB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/1.017, allocations: 63.91 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005694/1.023, allocations: 1.149 MB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.765e-06/1.023, allocations: 0.5312 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.023, allocations: 0 / 1.109 GB, free: 11.14 MB / 0.7136 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.0006597/1.024, allocations: 377.8 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.959e-05/1.024, allocations: 8.875 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/1.024, allocations: 15.81 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/1.024, allocations: 178.7 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/1.024, allocations: 5.062 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/1.024, allocations: 4 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001817/1.024, allocations: 32 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/1.025, allocations: 84.61 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.025, allocations: 1.156 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/1.025, allocations: 0 / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.025, allocations: 4 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.026, allocations: 421.1 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.026, allocations: 43.11 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/1.026, allocations: 13.84 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/1.026, allocations: 0 / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/1.026, allocations: 41.88 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.053e-06/1.026, allocations: 0 / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002716/1.026, allocations: 43.23 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/1.026, allocations: 77.11 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/1.027, allocations: 135.2 kB / 1.111 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/1.027, allocations: 25.7 kB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.027, allocations: 113.3 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/1.027, allocations: 3.906 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.027, allocations: 0 / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.027, allocations: 324.1 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/1.027, allocations: 8 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/1.027, allocations: 22.33 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/1.027, allocations: 5.344 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.027, allocations: 4 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001561/1.027, allocations: 54.2 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.028, allocations: 8.797 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.028, allocations: 0 / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/1.028, allocations: 7.984 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/1.028, allocations: 9.188 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.028, allocations: 0 / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/1.028, allocations: 3.938 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/1.028, allocations: 5.406 kB / 1.111 GB, free: 8.91 MB / 0.7136 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 () * 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 0.0001256/1.028, allocations: 101 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001819/1.028, allocations: 56.62 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/1.028, allocations: 15.84 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/1.028, allocations: 11.97 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.028, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.028, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.028, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/1.029, allocations: 447.4 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.029, allocations: 6 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/1.029, allocations: 7.984 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.029, allocations: 1.219 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.029, allocations: 4 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.029, allocations: 0 / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.029, allocations: 0 / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/1.029, allocations: 95.56 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/1.029, allocations: 85.02 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/1.03, allocations: 3.984 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/1.03, allocations: 0 / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/1.03, allocations: 0 / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/1.03, allocations: 4 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001272/1.03, allocations: 113.4 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.03, allocations: 0 / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003492/1.03, allocations: 8 kB / 1.112 GB, free: 7.863 MB / 0.7136 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 () * 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.0006215/1.031, allocations: 0.6904 MB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000138/1.031, allocations: 23.92 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.031, allocations: 4.156 kB / 1.113 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/1.031, allocations: 4 kB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/1.031, allocations: 4.219 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/1.032, allocations: 142.5 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.032, allocations: 0.7048 MB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.292e-05/1.032, allocations: 4.312 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/1.032, allocations: 29.83 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.033, allocations: 0 / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/1.057, allocations: 0.9784 MB / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/1.057, allocations: 146.1 kB / 1.115 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.638, allocations: 0 / 1.115 GB, free: 5.035 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)