Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002259, allocations: 180 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 86.41 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006726/0.0006729, allocations: 15.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001054/0.2291, allocations: 0.5563 MB / 0.8994 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.2292, allocations: 47.72 kB / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.2293, allocations: 8 kB / 0.8995 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.2293, allocations: 3.938 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.721e-05/0.2294, allocations: 7.984 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.828e-05/0.2295, allocations: 15.98 kB / 0.8995 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.2296, allocations: 39.89 kB / 0.8995 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.2297, allocations: 37.56 kB / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.2298, allocations: 23.86 kB / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.2299, allocations: 15.86 kB / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2299, allocations: 0 / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.2299, allocations: 4 kB / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2299, allocations: 11.94 kB / 0.8996 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.23, allocations: 37.58 kB / 0.8997 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.2301, allocations: 59.86 kB / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2301, allocations: 0 / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2301, allocations: 0 / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2301, allocations: 4 kB / 0.8997 GB, free: 64.59 MB / 0.6042 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.0003755/0.2305, allocations: 375.3 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2305, allocations: 8.031 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.2306, allocations: 11.91 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.2308, allocations: 193.2 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2308, allocations: 8 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.2308, allocations: 8 kB / 0.9003 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.231, allocations: 97.56 kB / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.231, allocations: 7.875 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2311, allocations: 4 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2311, allocations: 4 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2312, allocations: 35.98 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.2317, allocations: 453.8 kB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.2318, allocations: 37.16 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2318, allocations: 0 / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.2319, allocations: 34.56 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2319, allocations: 64 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001878/0.2321, allocations: 61.53 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2321, allocations: 85.05 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2323, allocations: 175 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.2323, allocations: 25.7 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.2324, allocations: 104 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.2324, allocations: 7.906 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.2324, allocations: 0 / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.2325, allocations: 327.1 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.2325, allocations: 4 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.2325, allocations: 21.7 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.2326, allocations: 11.98 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2326, allocations: 3.953 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/0.2327, allocations: 61.55 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2327, allocations: 4 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2328, allocations: 8.062 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2328, allocations: 4 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.2329, allocations: 7.984 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2329, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.233, allocations: 11.84 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.233, allocations: 3.938 kB / 0.9018 GB, free: 62.2 MB / 0.6042 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 6.681e-05/0.233, allocations: 113.8 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.2331, allocations: 11.86 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.2331, allocations: 12.56 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2332, allocations: 7.984 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2332, allocations: 4 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2332, allocations: 0 / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.2336, allocations: 474.7 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2336, allocations: 4 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.2336, allocations: 0 / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2336, allocations: 4 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2337, allocations: 8.062 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2337, allocations: 7.922 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2337, allocations: 0 / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2338, allocations: 87.58 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.2339, allocations: 93 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2339, allocations: 32 / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.234, allocations: 4 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.234, allocations: 0 / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.234, allocations: 4 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.954e-05/0.2341, allocations: 124.9 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2341, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002524/0.2344, allocations: 11.91 kB / 0.9028 GB, free: 61.13 MB / 0.6042 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.0001064/0.2345, allocations: 107.1 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.878e-05/0.2346, allocations: 20 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2346, allocations: 0 / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.2346, allocations: 8 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.2348, allocations: 11.94 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.2352, allocations: 198.2 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2353, allocations: 0.6965 MB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.2354, allocations: 8.422 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.2354, allocations: 11.44 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of SimCode: time 1.542e-06/0.2354, allocations: 4 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.003007/0.2384, allocations: 448.7 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB