Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_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.727/1.727, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001393/0.001393, allocations: 180.8 kB / 366.7 MB, free: 1.637 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.834/1.834, allocations: 205.2 MB / 0.626 GB, free: 7.125 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.0009047/0.000905, allocations: 82.62 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.638e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6891, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.8866, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.8868, allocations: 64.53 kB / 1.108 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002841/0.8897, allocations: 1.15 MB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8897, allocations: 0 / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.8897, allocations: 0 / 1.109 GB, free: 11.11 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.0003509/0.8901, allocations: 375.5 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8902, allocations: 8.531 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.8902, allocations: 16.38 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.8904, allocations: 171 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.8904, allocations: 8.734 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.8904, allocations: 9.719 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.8905, allocations: 36.86 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.8907, allocations: 85.03 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8907, allocations: 2.938 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.8907, allocations: 0 / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.8907, allocations: 4 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.8913, allocations: 417.2 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.8914, allocations: 42.42 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.8914, allocations: 15.16 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.8914, allocations: 0 / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.8915, allocations: 43.12 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.8915, allocations: 0.5 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.8917, allocations: 38.97 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8917, allocations: 82.58 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.8918, allocations: 130.6 kB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.8919, allocations: 25.7 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.892, allocations: 109.7 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.892, allocations: 7.906 kB / 1.111 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.892, allocations: 4 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8921, allocations: 317.1 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.8922, allocations: 9.375 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.8922, allocations: 21.66 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.8922, allocations: 9.281 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8922, allocations: 4 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.404e-05/0.8923, allocations: 54.91 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8923, allocations: 7.953 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8924, allocations: 0 / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8924, allocations: 4.812 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.8925, allocations: 7.938 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8925, allocations: 3.688 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.8925, allocations: 3.938 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.8925, allocations: 4 kB / 1.111 GB, free: 8.871 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 7.767e-05/0.8926, allocations: 102.2 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.188e-05/0.8927, allocations: 51.53 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.8927, allocations: 18.75 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.8928, allocations: 11.97 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8928, allocations: 0 / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8928, allocations: 2.438 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8928, allocations: 4.188 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.8933, allocations: 447.4 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8933, allocations: 0 / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.8933, allocations: 7.938 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8933, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.8933, allocations: 6.156 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8933, allocations: 0 / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8934, allocations: 3.984 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.8935, allocations: 91.62 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.8935, allocations: 93 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8936, allocations: 0 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.8936, allocations: 0 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.8936, allocations: 32 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.8936, allocations: 8 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.501e-05/0.8937, allocations: 105.1 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8937, allocations: 0 / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001779/0.8939, allocations: 8 kB / 1.112 GB, free: 7.828 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.0004914/0.8944, allocations: 0.6953 MB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.8945, allocations: 16 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8945, allocations: 0 / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.8945, allocations: 11.94 kB / 1.113 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.8946, allocations: 0 / 1.113 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.8951, allocations: 151 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.8954, allocations: 0.7009 MB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.8955, allocations: 4.188 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.8955, allocations: 28.55 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8955, allocations: 0 / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.9171, allocations: 0.9745 MB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.9175, allocations: 154.9 kB / 1.115 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.403, allocations: 0 / 1.115 GB, free: 4.996 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)