Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006735/0.006735, allocations: 173.4 kB / 16.27 MB, free: 6.676 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005214, allocations: 8.656 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3768, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001129/0.378, allocations: 0.5396 MB / 1.075 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.3781, allocations: 43.84 kB / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3782, allocations: 0 / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.3782, allocations: 7.922 kB / 1.075 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.3783, allocations: 3.938 kB / 1.075 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.311e-05/0.3784, allocations: 19.98 kB / 1.075 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3785, allocations: 51.86 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3786, allocations: 47.89 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.3787, allocations: 19.86 kB / 1.075 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.3788, allocations: 19.86 kB / 1.075 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3788, allocations: 4 kB / 1.075 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-06/0.3788, allocations: 0 / 1.075 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.3788, allocations: 7.938 kB / 1.075 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.3789, allocations: 57.44 kB / 1.075 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.33e-05/0.379, allocations: 60.03 kB / 1.075 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.379, allocations: 0 / 1.075 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.379, allocations: 4 kB / 1.075 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.379, allocations: 0 / 1.075 GB, free: 6.617 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.0004321/0.3795, allocations: 367.3 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3795, allocations: 8.031 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3796, allocations: 8.844 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3798, allocations: 196.1 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3798, allocations: 8.375 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.3798, allocations: 4.375 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.38, allocations: 101.4 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.38, allocations: 4.125 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.38, allocations: 7.938 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3801, allocations: 3.938 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.3801, allocations: 35.98 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.3807, allocations: 440.6 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.3808, allocations: 41.16 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.3808, allocations: 21.84 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3808, allocations: 0 / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3809, allocations: 38.59 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3809, allocations: 0 / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.3811, allocations: 61.47 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3811, allocations: 77.11 kB / 1.076 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3813, allocations: 165.1 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.3813, allocations: 25.7 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3814, allocations: 108.1 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.3814, allocations: 7.891 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.3815, allocations: 17.72 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3816, allocations: 314.8 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.3816, allocations: 7.984 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.3816, allocations: 17.72 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.3817, allocations: 29.66 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3817, allocations: 4 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.444e-05/0.3818, allocations: 57.59 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3818, allocations: 4 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3818, allocations: 3.938 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3818, allocations: 4 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3819, allocations: 7.938 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3819, allocations: 0 / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.382, allocations: 7.938 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.382, allocations: 64 / 1.077 GB, free: 4.195 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 7.787e-05/0.3821, allocations: 119.6 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.3821, allocations: 11.89 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.3821, allocations: 15.81 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3822, allocations: 4 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3822, allocations: 0 / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3822, allocations: 0 / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3826, allocations: 474.7 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3826, allocations: 3.938 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.3826, allocations: 4 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3826, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3826, allocations: 11.92 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3826, allocations: 0 / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3826, allocations: 0 / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/0.3827, allocations: 85.84 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.3828, allocations: 89 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3828, allocations: 96 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.3828, allocations: 0 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.3829, allocations: 7.984 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3829, allocations: 0 / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.749e-05/0.383, allocations: 123.2 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.383, allocations: 0 / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001891/0.3832, allocations: 8 kB / 1.078 GB, free: 3.141 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.0001267/0.3833, allocations: 99.28 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.3834, allocations: 19.92 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3834, allocations: 4 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.3834, allocations: 4 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.3836, allocations: 7.938 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.3839, allocations: 176.9 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3842, allocations: 0.6965 MB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.3843, allocations: 8.438 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.3843, allocations: 11.44 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3843, allocations: 0 / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.002686/0.387, allocations: 424.5 kB / 1.079 GB, free: 1.633 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)