Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.076/3.076, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 70.23 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4044, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002958/0.4074, allocations: 0.8293 MB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.4076, allocations: 39.78 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.4077, allocations: 4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.565e-05/0.4078, allocations: 7.875 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.4079, allocations: 15.88 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.885e-05/0.408, allocations: 19.97 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4081, allocations: 59.86 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.4083, allocations: 47.94 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.4084, allocations: 23.88 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.4085, allocations: 31.78 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.4086, allocations: 8 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.4086, allocations: 7.938 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.4086, allocations: 11.94 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.4087, allocations: 39.73 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.4088, allocations: 68.05 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4088, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4088, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4089, allocations: 0 / 1.069 GB, free: 9.223 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.000597/0.4095, allocations: 387.1 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4095, allocations: 8.031 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.4096, allocations: 12.84 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.4099, allocations: 188.2 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4099, allocations: 8.375 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.4099, allocations: 4.375 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4101, allocations: 101.1 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4101, allocations: 4.188 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.4102, allocations: 7.938 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4102, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.4103, allocations: 39.91 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.4109, allocations: 432.5 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.411, allocations: 41.28 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.411, allocations: 25.83 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.411, allocations: 0 / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.432e-05/0.4111, allocations: 34.56 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4111, allocations: 4 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002045/0.4113, allocations: 57.48 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.4114, allocations: 77.11 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.4116, allocations: 165.1 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4116, allocations: 25.7 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.4117, allocations: 108 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.4117, allocations: 7.906 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.4118, allocations: 17.97 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4119, allocations: 322.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.4119, allocations: 11.94 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.4119, allocations: 17.7 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.412, allocations: 25.72 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.412, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.346e-05/0.4121, allocations: 65.53 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4121, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4121, allocations: 3.938 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4121, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.4122, allocations: 11.94 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4122, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.4123, allocations: 7.844 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4123, allocations: 8 kB / 1.071 GB, free: 6.773 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 8.343e-05/0.4124, allocations: 110.4 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.4124, allocations: 11.91 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.4125, allocations: 15.8 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4125, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4125, allocations: 3.938 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4125, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.4129, allocations: 470.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4129, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.4129, allocations: 12 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.413, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.413, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.413, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.413, allocations: 4 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.4131, allocations: 77.83 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.4132, allocations: 93.03 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4132, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.4132, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.4132, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.4132, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.274e-05/0.4133, allocations: 115.2 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4133, allocations: 3.938 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001908/0.4135, allocations: 11.91 kB / 1.072 GB, free: 5.734 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.0001434/0.4137, allocations: 103.2 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.427e-05/0.4138, allocations: 19.98 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4138, allocations: 0 / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.4138, allocations: 7.938 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.414, allocations: 11.94 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.4144, allocations: 159 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4147, allocations: 0.6928 MB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.4148, allocations: 4.438 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.4148, allocations: 11.44 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.4148, allocations: 4 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.002903/0.4177, allocations: 464.5 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)