Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 1.43/1.43, allocations: 287.4 MB / 302.5 MB, free: 8.262 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.0009961/0.0009961, allocations: 189 kB / 371.1 MB, free: 10.81 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.15/1.15, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006767/0.0006767, allocations: 103.2 kB / 0.7431 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003261, allocations: 12.47 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0006819/0.1432, allocations: 0.5327 MB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 8.775e-05/0.1433, allocations: 51.78 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1434, allocations: 0 / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1434, allocations: 7.922 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.1435, allocations: 7.938 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.308e-05/0.1435, allocations: 11.98 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.1436, allocations: 63.78 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1437, allocations: 41.38 kB / 0.9794 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.1437, allocations: 23.86 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.1438, allocations: 19.8 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1438, allocations: 7.938 kB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.1438, allocations: 0 / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1438, allocations: 11.94 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.1438, allocations: 33.7 kB / 0.9795 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.24e-05/0.1439, allocations: 64.08 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1439, allocations: 4 kB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1439, allocations: 3.938 kB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1439, allocations: 3.938 kB / 0.9796 GB, free: 27.18 MB / 0.6198 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.0002707/0.1442, allocations: 371.2 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1442, allocations: 8.031 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.1443, allocations: 38.75 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.1443, allocations: 8.844 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1444, allocations: 200.2 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1445, allocations: 8.281 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.1445, allocations: 8.375 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1446, allocations: 90.39 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1446, allocations: 7.938 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1446, allocations: 4 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1446, allocations: 0 / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.1447, allocations: 39.92 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.145, allocations: 456.6 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.751e-05/0.1451, allocations: 41.25 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.1451, allocations: 17.77 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.1451, allocations: 4 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.1451, allocations: 30.56 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1452, allocations: 0 / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.1453, allocations: 61.48 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.1453, allocations: 77.11 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.1454, allocations: 169.2 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.1454, allocations: 29.7 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.1455, allocations: 108 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.1455, allocations: 7.906 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.1455, allocations: 4 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.1455, allocations: 318.8 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.1455, allocations: 4 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.1456, allocations: 25.66 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.1456, allocations: 33.66 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1456, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.823e-05/0.1457, allocations: 61.53 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1457, allocations: 7.938 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1457, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1457, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.1458, allocations: 8 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1458, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.1458, allocations: 15.97 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1458, allocations: 0 / 0.9818 GB, free: 24.7 MB / 0.6198 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.325e-05/0.1459, allocations: 127.1 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1459, allocations: 15.78 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.1459, allocations: 12.56 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.146, allocations: 0 / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.146, allocations: 0 / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.146, allocations: 4.078 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1462, allocations: 482.8 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1462, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.1462, allocations: 4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1463, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1463, allocations: 4 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1463, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1463, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.53e-05/0.1463, allocations: 93.73 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.1464, allocations: 85.02 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1464, allocations: 7.984 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.1464, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.1464, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1464, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.1465, allocations: 132.2 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 4.031 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000152/0.1466, allocations: 8 kB / 0.9827 GB, free: 23.63 MB / 0.6198 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.000181/0.1468, allocations: 0.6131 MB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.4e-05/0.1469, allocations: 20.03 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1469, allocations: 0 / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.1469, allocations: 15.88 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1471, allocations: 15.92 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.1476, allocations: 0.5819 MB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.285e-05/0.1477, allocations: 0.7004 MB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.1478, allocations: 8.422 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1478, allocations: 19.44 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1478, allocations: 0 / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4653/0.6131, allocations: 1.57 MB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.6133, allocations: 189.1 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.642, allocations: 6.75 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)