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 2.811/2.811, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001349/0.001348, allocations: 174.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009442/0.0009437, allocations: 94.39 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006551, allocations: 17.77 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2421, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001058/0.2432, allocations: 0.5288 MB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.2434, allocations: 47.77 kB / 0.979 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.2435, allocations: 4 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.2435, allocations: 7.875 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.2436, allocations: 3.938 kB / 0.979 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-05/0.2437, allocations: 15.98 kB / 0.979 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2438, allocations: 59.84 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2439, allocations: 29.56 kB / 0.9791 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.244, allocations: 23.86 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.2441, allocations: 23.8 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.2441, allocations: 7.938 kB / 0.9792 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.2441, allocations: 0 / 0.9792 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.2442, allocations: 11.92 kB / 0.9792 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.2442, allocations: 45.64 kB / 0.9792 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.852e-05/0.2443, allocations: 56.09 kB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2443, allocations: 0 / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2443, allocations: 0 / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2443, allocations: 0 / 0.9793 GB, free: 27.37 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.0004027/0.2447, allocations: 375 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2448, allocations: 16.02 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.2449, allocations: 38.55 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.2449, allocations: 15.91 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.2451, allocations: 202.8 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2451, allocations: 4 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2452, allocations: 8 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.2454, allocations: 93.56 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2454, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2454, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2454, allocations: 4 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2455, allocations: 39.92 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.2462, allocations: 448.5 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.577e-05/0.2463, allocations: 41.28 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.2463, allocations: 21.84 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2463, allocations: 3.984 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2464, allocations: 34.56 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.2464, allocations: 0 / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000207/0.2466, allocations: 53.53 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2466, allocations: 81.36 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2468, allocations: 172.9 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.2468, allocations: 29.7 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.2469, allocations: 111.9 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.2469, allocations: 0 / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.2469, allocations: 3.938 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.128e-05/0.247, allocations: 322.8 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.247, allocations: 8 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.2471, allocations: 21.64 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.2471, allocations: 12 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2471, allocations: 3.953 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.2473, allocations: 65.45 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2473, allocations: 4 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2473, allocations: 7.984 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2473, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.2474, allocations: 4 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2474, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.2475, allocations: 8.062 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.2475, allocations: 0 / 0.9815 GB, free: 24.9 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 7.166e-05/0.2476, allocations: 115.2 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.2477, allocations: 11.86 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.2477, allocations: 16.55 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2477, allocations: 4 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2477, allocations: 0 / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2477, allocations: 0 / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.2482, allocations: 494.6 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2482, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2482, allocations: 7.984 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2482, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2482, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2483, allocations: 3.938 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2483, allocations: 0 / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.752e-05/0.2484, allocations: 81.92 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.2484, allocations: 93 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2485, allocations: 0 / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.2485, allocations: 4 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.2485, allocations: 0 / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2485, allocations: 4 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001013/0.2487, allocations: 132.2 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2487, allocations: 4.031 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002342/0.2489, allocations: 8 kB / 0.9824 GB, free: 23.83 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.0003001/0.2492, allocations: 0.6209 MB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.2493, allocations: 23.97 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2493, allocations: 0 / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.2494, allocations: 11.94 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2496, allocations: 14.17 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.2506, allocations: 0.5785 MB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.2508, allocations: 0.7004 MB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.2508, allocations: 8.438 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.2509, allocations: 23.42 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2509, allocations: 4 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.2732, allocations: 1.591 MB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.2734, allocations: 190.8 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.737, allocations: 0 / 0.9861 GB, free: 20.05 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)