Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006498/0.006498, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 12.72 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4382, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001205/0.4395, allocations: 0.5396 MB / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.4396, allocations: 47.78 kB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.4397, allocations: 0 / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.4398, allocations: 3.938 kB / 1.075 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.632e-05/0.4399, allocations: 3.984 kB / 1.075 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.634e-05/0.4399, allocations: 16 kB / 1.075 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.44, allocations: 63.78 kB / 1.075 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4402, allocations: 43.95 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.4403, allocations: 15.86 kB / 1.075 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.4403, allocations: 15.88 kB / 1.075 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.4404, allocations: 4 kB / 1.075 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.4404, allocations: 0 / 1.075 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.4404, allocations: 11.92 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.4405, allocations: 53.45 kB / 1.075 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.4406, allocations: 67.97 kB / 1.075 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4406, allocations: 4 kB / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4406, allocations: 0 / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4406, allocations: 0 / 1.075 GB, free: 6.664 MB / 0.8262 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.0004507/0.4411, allocations: 367.3 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4411, allocations: 8.031 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.4412, allocations: 8.844 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.4414, allocations: 192.2 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4415, allocations: 8.375 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4415, allocations: 8.375 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4417, allocations: 101.3 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4417, allocations: 4.125 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4417, allocations: 11.94 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4417, allocations: 0 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.4418, allocations: 35.92 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.4424, allocations: 436.7 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.4425, allocations: 37.16 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.4426, allocations: 29.86 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4426, allocations: 4 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4426, allocations: 34.5 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.4426, allocations: 0 / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.4429, allocations: 57.48 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.443, allocations: 77.11 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4431, allocations: 165.1 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4431, allocations: 25.95 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.4433, allocations: 111.9 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.4433, allocations: 7.906 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.4433, allocations: 13.72 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4435, allocations: 318.8 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.4435, allocations: 4 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.4435, allocations: 21.7 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.4436, allocations: 29.66 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.4436, allocations: 4 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.255e-05/0.4437, allocations: 61.53 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4437, allocations: 4 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4437, allocations: 3.938 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4437, allocations: 4 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.4438, allocations: 4 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4438, allocations: 0 / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.4439, allocations: 8 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.4439, allocations: 4 kB / 1.077 GB, free: 4.238 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/0.444, allocations: 113.8 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.444, allocations: 7.906 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.4441, allocations: 19.8 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4441, allocations: 0 / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4441, allocations: 0 / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4441, allocations: 3.938 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.4445, allocations: 474.7 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4445, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.4446, allocations: 4 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4446, allocations: 0 / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4446, allocations: 4 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4446, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4446, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.417e-05/0.4447, allocations: 93.83 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.4448, allocations: 89 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.4448, allocations: 0 / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.4448, allocations: 0 / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.4448, allocations: 8 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.4449, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.848e-05/0.4449, allocations: 121.3 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.445, allocations: 3.938 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001795/0.4451, allocations: 12.03 kB / 1.078 GB, free: 3.188 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.4453, allocations: 95.25 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.4454, allocations: 15.94 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4454, allocations: 0 / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.4454, allocations: 11.98 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.4456, allocations: 9.656 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.446, allocations: 180.8 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.4463, allocations: 0.6965 MB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.4464, allocations: 12.52 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.4464, allocations: 11.44 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4464, allocations: 3.938 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.002734/0.4492, allocations: 424.5 kB / 1.079 GB, free: 1.672 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)