Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.00179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 252 MB / 0.5102 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005919/0.0005922, allocations: 15.98 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.6286, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001497/0.6301, allocations: 0.55 MB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002224/0.6304, allocations: 43.8 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.6305, allocations: 0 / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.6305, allocations: 11.92 kB / 0.7287 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.6307, allocations: 7.922 kB / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.661e-05/0.6308, allocations: 15.98 kB / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6309, allocations: 63.78 kB / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.6311, allocations: 33.52 kB / 0.7288 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.6311, allocations: 19.86 kB / 0.7289 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.6312, allocations: 27.8 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6312, allocations: 0 / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.6313, allocations: 4 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.6313, allocations: 3.938 kB / 0.7289 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.6313, allocations: 37.7 kB / 0.7289 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.6314, allocations: 57.83 kB / 0.729 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6314, allocations: 0 / 0.729 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6314, allocations: 0 / 0.729 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6315, allocations: 4 kB / 0.729 GB, free: 10.5 MB / 0.545 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.0005239/0.632, allocations: 379 kB / 0.7294 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.632, allocations: 11.97 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.6321, allocations: 11.81 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.6324, allocations: 190.9 kB / 0.7296 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6324, allocations: 4 kB / 0.7296 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.6324, allocations: 8 kB / 0.7296 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.6327, allocations: 108.9 kB / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6327, allocations: 0 / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6327, allocations: 0 / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6327, allocations: 0 / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/0.6328, allocations: 35.98 kB / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.6335, allocations: 460.5 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.6335, allocations: 37.22 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.6336, allocations: 13.78 kB / 0.7302 GB, free: 9.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.6336, allocations: 4.031 kB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6336, allocations: 34.56 kB / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.6336, allocations: 4 kB / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002085/0.6338, allocations: 61.44 kB / 0.7303 GB, free: 8.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.6339, allocations: 77.11 kB / 0.7304 GB, free: 8.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.6341, allocations: 172.8 kB / 0.7305 GB, free: 8.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.6341, allocations: 25.7 kB / 0.7306 GB, free: 8.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.6342, allocations: 108 kB / 0.7307 GB, free: 8.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.6342, allocations: 3.906 kB / 0.7307 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.6342, allocations: 4.188 kB / 0.7307 GB, free: 8.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6344, allocations: 322.8 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.6344, allocations: 4 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.6344, allocations: 25.7 kB / 0.731 GB, free: 8.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.6344, allocations: 8 kB / 0.731 GB, free: 8.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6345, allocations: 0 / 0.731 GB, free: 8.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.014e-05/0.6345, allocations: 65.5 kB / 0.7311 GB, free: 8.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6346, allocations: 12.05 kB / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6346, allocations: 0 / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6346, allocations: 4 kB / 0.7311 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.6347, allocations: 4 kB / 0.7311 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6347, allocations: 0 / 0.7311 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.6348, allocations: 11.84 kB / 0.7311 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.6348, allocations: 0 / 0.7311 GB, free: 8.082 MB / 0.545 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.353e-05/0.6348, allocations: 117.8 kB / 0.7312 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.6349, allocations: 11.86 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.6349, allocations: 20.55 kB / 0.7313 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6349, allocations: 0 / 0.7313 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.6349, allocations: 0 / 0.7313 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.635, allocations: 4 kB / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.6353, allocations: 470.8 kB / 0.7317 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6354, allocations: 3.984 kB / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.6354, allocations: 8.094 kB / 0.7317 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.6354, allocations: 8.047 kB / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.6354, allocations: 4 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6354, allocations: 0 / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6354, allocations: 0 / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.6355, allocations: 73.86 kB / 0.7318 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.6356, allocations: 96.91 kB / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.6356, allocations: 4 kB / 0.7319 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/0.6356, allocations: 11.97 kB / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.6357, allocations: 3.938 kB / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.6357, allocations: 0 / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000125/0.6358, allocations: 131.9 kB / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6358, allocations: 0 / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001892/0.636, allocations: 8 kB / 0.732 GB, free: 7.016 MB / 0.545 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.0001444/0.6361, allocations: 99.19 kB / 0.7321 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.6362, allocations: 20 kB / 0.7322 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6363, allocations: 0 / 0.7322 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.6363, allocations: 11.94 kB / 0.7322 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.6364, allocations: 7.953 kB / 0.7322 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.6368, allocations: 194.2 kB / 0.7324 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.6372, allocations: 0.6965 MB / 0.733 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.6372, allocations: 4.438 kB / 0.733 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.6372, allocations: 11.44 kB / 0.7331 GB, free: 5.914 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6372, allocations: 4 kB / 0.7331 GB, free: 5.91 MB / 0.545 GB Notification: Performance of Templates: time 0.002757/0.64, allocations: 439.8 kB / 0.7335 GB, free: 5.48 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) Environment - environmentSimulation: